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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2018-03-17 at 14:23 +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@xxxxxxxxx>
> ---
>  docs/apibuild.py | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)

s/isinctance/isinstance/ in the subject.

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux