Working on __init__.

This commit is contained in:
Dave Halter committed 2016-11-06 18:28:04 +01:00
1 parent 82667b85b9
commit afac66d82c
4 files changed
+72 -9

No files matched your search

+7
View File
@@ -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):