star imports work now also in the start module

This commit is contained in:
David Halter
2012-04-19 00:04:24 +02:00
parent 900ee27192
commit 4365c80a53
6 changed files with 41 additions and 21 deletions

View File

@@ -244,7 +244,7 @@ class GlobalScope(Scope):
def get_set_vars(self):
n = super(GlobalScope, self).get_set_vars()
n += self.global_vars
return n
return n
class Class(Scope):
@@ -1035,7 +1035,7 @@ class PyFuzzyParser(object):
:return: Statement + last parsed token.
:rtype: (Statement, str)
TODO improve abort criterion of not closing parentheses
TODO improve abort criterion of not closing parentheses
"""
string = ''
@@ -1245,7 +1245,7 @@ class PyFuzzyParser(object):
while 1:
token_type, tok, indent = self.next()
if tok != '.':
break;
break
relative_count += 1
# the from import
mod, token_type, tok, start_indent, start_line2 = \