some operator support for '*'
This commit is contained in:
1 parent
7e39a7d1ba
commit
8795b4fbac
3 files changed
+21
-1
No files matched your search
@@ -31,6 +31,21 @@ b[8-7]
|
||||
b[8:]
|
||||
|
||||
|
||||
# -----------------
|
||||
# iterable multiplication
|
||||
# -----------------
|
||||
a = ['']*2
|
||||
#? list()
|
||||
a
|
||||
|
||||
a = 2*2
|
||||
#? int()
|
||||
a
|
||||
|
||||
a = "a"*3
|
||||
#? str()
|
||||
a
|
||||
|
||||
# -----------------
|
||||
# tuple assignments
|
||||
# -----------------
|
||||
|
||||
Reference in new issue
Block a user