string literal handling

This commit is contained in:
David Halter
2012-05-08 22:19:45 +02:00
parent 8b99785e15
commit e2446d675a
7 changed files with 62 additions and 23 deletions

View File

@@ -119,6 +119,12 @@ g1.
# -----------------
# dicts
# -----------------
dic2 = {'asdf': 3}
dic2 = {'asdf': 3, 'b': 'str'}
#? ['real']
dic2['asdf'].real
#? []
dic2['asdf'].upper
#? ['real']
dic2[r'asdf'].real
#? []
dic2[r'asdf'].upper

View File

@@ -151,7 +151,7 @@ exe.items
# -----------------
def fu(a=1, b="", *args, **kwargs):
return a,b,args,kwargs
return a, b, args, kwargs
exe = fu(list, 1, "", c=set)