fix problem that strings are no function calls

This commit is contained in:
David Halter
2013-07-24 16:11:51 +02:00
parent 972d4e9a08
commit 18e561f332
2 changed files with 18 additions and 7 deletions

View File

@@ -6,9 +6,22 @@ Basically this file could change depending on the current implementation. But
there should never be any errors.
"""
# wait until keywords are out of definitions (pydoc function).
##? 5
's'()
#? ['upper']
str()).upper
# -----------------
# funcs
# -----------------
def asdf(a or b): # multiple param names
return a
#? int()
asdf(2)
from a import (b
def blub():
return 0
@@ -83,6 +96,10 @@ for_local
for_local
# -----------------
# list comprehensions
# -----------------
a2 = [for a2 in [0]]
#?
a2[0]
@@ -113,12 +130,6 @@ a[0]
#? []
int()).
def asdf(a or b): # multiple param names
return a
#? int()
asdf(2)
# -----------------
# goto
# -----------------