fix string/array (sequence) multiplications with integer.

This commit is contained in:
Dave Halter committed 2014-06-26 00:49:56 +02:00
1 parent 47205dd7f3
commit bdcbac160b
3 files changed
+10 -8

No files matched your search

+8
View File
@@ -41,6 +41,14 @@ x = 'upp' + 'e'
#? str.upper
getattr(str, x + 'r')
a = "a"*3
#? str()
a
a = 3 * "a"
#? str()
a
# -----------------
# assignments
# -----------------