functions fully working with default arguments/generators/decorators, but without recursion

This commit is contained in:
David Halter
2012-05-22 10:34:27 +02:00
parent da7ef3ba4b
commit 3c882dea44
3 changed files with 23 additions and 11 deletions

View File

@@ -78,6 +78,7 @@ class Definition(object):
def get_module(self):
par = self.scope
while True:
# TODO what to do with `evaluate.Array` ?
if par.parent is not None:
par = par.parent
else: