[libvirt] [PATCH 01/22] apibuild: Use isinctance for type checking

Daniel P. Berrangé berrange at redhat.com
Mon Mar 19 10:33:51 UTC 2018


s/isinctance/isinstance/ in the $subject

On Sat, Mar 17, 2018 at 02:23:19PM +0000, Radostin Stoyanov wrote:
> The isinstance() function [1] returns true if an object argument is an
> instance of a classinfo argument or of a direct, indirect subclass
> thereof.
> 
> 1: https://docs.python.org/3/library/functions.html#isinstance
> 
> Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
> ---
>  docs/apibuild.py | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list