BoundMethods now have access to the function that they are using
This commit is contained in:
1 parent
e576457a43
commit
f25310e0b9
5 files changed
+72
-66
No files matched your search
@@ -470,7 +470,7 @@ else:
|
||||
|
||||
class _SPECIAL_OBJECTS(object):
|
||||
FUNCTION_CLASS = types.FunctionType
|
||||
METHOD_CLASS = type(DirectObjectAccess.py__bool__)
|
||||
BOUND_METHOD_CLASS = type(DirectObjectAccess(None, None).py__bool__)
|
||||
MODULE_CLASS = types.ModuleType
|
||||
GENERATOR_OBJECT = _a_generator(1.0)
|
||||
BUILTINS = builtins
|
||||
|
||||
Reference in new issue
Block a user