parentheses work now in import statements (tested)

This commit is contained in:
David Halter
2012-07-13 01:00:44 +02:00
parent 4739eb6c02
commit 972b4bd13d
4 changed files with 40 additions and 5 deletions

View File

@@ -14,6 +14,23 @@ import os
#? ['dirname']
os.path.dirname
from itertools import (tee,
islice)
#? ['islice']
islice
from functools import (partial, wraps)
#? ['wraps']
wraps
from keyword import kwlist, \
iskeyword
#? ['kwlist']
kwlist
from tokenize import io
tokenize.generate_tokens
# -----------------
# builtins
# -----------------

View File

@@ -1,3 +1,6 @@
from a import (b
def blub():
return 0
def openbrace():
asdf = 3
asdf