forked from p15670423/monkey
Change is to isisntance for type checking
This commit is contained in:
parent
fd70ecfe29
commit
f8b38d9a8d
|
@ -74,7 +74,7 @@ class Configuration(object):
|
|||
|
||||
val_type = type(value)
|
||||
|
||||
if val_type is types.FunctionType or val_type is types.MethodType:
|
||||
if isinstance(val_type, types.FunctionType) or isinstance(val_type, types.MethodType):
|
||||
continue
|
||||
|
||||
if val_type in (type, ABCMeta):
|
||||
|
|
Loading…
Reference in New Issue