Use builtins_module instead of BUILTINS
This commit is contained in:
1 parent
afb73876ac
commit
3a7bc92863
10 files changed
+20
-22
No files matched your search
@@ -111,12 +111,10 @@ class Evaluator(object):
|
||||
|
||||
self.reset_recursion_limitations()
|
||||
|
||||
# Constants
|
||||
# TODO move to get_builtins_module
|
||||
self.BUILTINS = compiled.get_special_object(self, 'BUILTINS')
|
||||
|
||||
def get_builtins_module(self):
|
||||
return self.BUILTINS
|
||||
@property
|
||||
@evaluator_function_cache()
|
||||
def builtins_module(self):
|
||||
return compiled.get_special_object(self, 'BUILTINS')
|
||||
|
||||
def reset_recursion_limitations(self):
|
||||
self.recursion_detector = recursion.RecursionDetector()
|
||||
|
||||
Reference in new issue
Block a user