Re: [Python-ideas] Unpacking iterables for augmented assignment

Aug. 26, 2018
6:29 p.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}.
2396
Age (days ago)
2396
Last active (days ago)
0 comments
1 participants
participants (1)
-
James Lu