string literal handling

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

No files matched your search

+7 -1
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