Remove FUNCTION_CLASS, in favor of a typeshed solution

This commit is contained in:
Dave Halter committed 2019-05-19 14:19:30 +02:00
1 parent 05a3d7a3bc
commit f9eedfbf64
3 files changed
+7 -2

No files matched your search

-1
View File
@@ -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