Re: [Python-ideas] Unpacking iterables for augmented assignment
27 Aug
2018
27 Aug
'18
1:29 a.m.
[Kirill Balunov] It may be worth taking a look at + and +=. However, the semantic difference is due to the dunder add and dunder iadd methods- necessary for supporting both mutable and immutable sequences. See my earlier mail for discussion on this topic. By the way,
the absence of literals for `set` and `frozenset` types,
The literal for the set is {1, 2, 3, 4}.
2062
Age (days ago)
2062
Last active (days ago)
0 comments
1 participants
participants (1)
-
James Lu