Remove FUNCTION_CLASS, in favor of a typeshed solution
This commit is contained in:
1 parent
05a3d7a3bc
commit
f9eedfbf64
3 files changed
+7
-2
No files matched your search
@@ -441,7 +441,6 @@ def _is_class_instance(obj):
|
||||
|
||||
|
||||
class _SPECIAL_OBJECTS(object):
|
||||
FUNCTION_CLASS = types.FunctionType
|
||||
BOUND_METHOD_CLASS = type(DirectObjectAccess(None, None).py__bool__)
|
||||
MODULE_CLASS = types.ModuleType
|
||||
|
||||
|
||||
Reference in new issue
Block a user