1
0
forked from VimPlug/jedi

Remove FUNCTION_CLASS, in favor of a typeshed solution

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

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