fix string/array (sequence) multiplications with integer.
This commit is contained in:
1 parent
47205dd7f3
commit
bdcbac160b
3 files changed
+10
-8
No files matched your search
@@ -41,6 +41,14 @@ x = 'upp' + 'e'
|
||||
#? str.upper
|
||||
getattr(str, x + 'r')
|
||||
|
||||
a = "a"*3
|
||||
#? str()
|
||||
a
|
||||
a = 3 * "a"
|
||||
#? str()
|
||||
a
|
||||
|
||||
|
||||
# -----------------
|
||||
# assignments
|
||||
# -----------------
|
||||
|
||||
Reference in new issue
Block a user