Working on __init__.
This commit is contained in:
1 parent
82667b85b9
commit
afac66d82c
4 files changed
+72
-9
No files matched your search
@@ -258,6 +258,13 @@ class CompiledObject(Context):
|
||||
def get_imports(self):
|
||||
return [] # Builtins don't have imports
|
||||
|
||||
@property
|
||||
def classdef(self):
|
||||
"""
|
||||
This is used to be able to work with compiled fakes.
|
||||
"""
|
||||
return self
|
||||
|
||||
|
||||
class CompiledName(AbstractNameDefinition):
|
||||
def __init__(self, evaluator, parent_context, name):
|
||||
|
||||
Reference in new issue
Block a user