This commit is contained in:
David Halter
2012-04-24 17:24:51 +02:00
parent 470e52e95d
commit 1e7680ed1d
5 changed files with 56 additions and 9 deletions

View File

@@ -543,6 +543,10 @@ class Statement(Simple):
# array
return self._assignment_details or []
def is_global(self):
# first keyword of the first token is global -> must be a global
return str(self.token_list[0]) == "global"
def get_assignment_calls(self):
"""
This is not done in the main parser, because it might be slow and