kopia lustrzana https://github.com/micropython/micropython-lib
inspect: Fix typo in isclass().
rodzic
dc9796a0d2
commit
f1e9bfc556
|
@ -27,7 +27,7 @@ def ismethod(obj):
|
|||
return isinstance(obj, type(_Instance.meth))
|
||||
|
||||
def isclass(obj):
|
||||
return isinstance(object, type)
|
||||
return isinstance(obj, type)
|
||||
|
||||
def ismodule(obj):
|
||||
return isinstance(obj, type(sys))
|
||||
|
|
Ładowanie…
Reference in New Issue