Some small refactorings to the names_dict/deep_ast_copy logic.

This commit is contained in:
Dave Halter
2015-02-12 13:24:08 +01:00
parent 774b3d5ce8
commit 4613a810a5
3 changed files with 8 additions and 10 deletions
+1 -3
View File
@@ -610,9 +610,7 @@ class FunctionExecution(Executed):
return types
def names_dicts(self, search_global):
yield dict((k, [self._copy_dict[v] for v in values])
for k, values in self.base.names_dict.items())
#yield self.names_dict # Replace with this!
yield self.names_dict
@memoize_default(default=NO_DEFAULT)
def _get_params(self):