Get rid of Function's get_magic_function_X, they are not used anymore.

This commit is contained in:
Dave Halter committed 2015-01-08 14:17:33 +01:00
1 parent 47fc3cbdfe
commit bd304d33c7
2 files changed
+5 -13

No files matched your search

-6
View File
@@ -575,12 +575,6 @@ class Function(use_metaclass(CachedMetaClass, Wrapper)):
for names_dict in compiled.magic_function_class.names_dicts(False):
yield names_dict
def get_magic_function_names(self):
return compiled.magic_function_class.get_defined_names()
def get_magic_function_scope(self):
return compiled.magic_function_class
@Python3Method
def py__call__(self, evaluator, params):
if self.base.is_generator():