tuple for loop tests

This commit is contained in:
David Halter
2012-04-25 00:09:54 +02:00
parent a1cf284297
commit 1ea2954c0e

View File

@@ -22,6 +22,22 @@ for a3, b3 in (1,""), (1,""), (1,""):
#? ['upper']
b3.upper
for a4, (b4, c4) in (1,("", list)), (1,("", list)):
#? ['real']
a4.real
#? []
a4.upper
#? []
b4.real
#? ['upper']
b4.upper
#? []
c4.real
#? ['append']
c4.append
#? []
c4.upper
# -----------------
# with statements
# -----------------