Message289639
I think the docs are fine as-is. Whether an identical tuple is new or not is an implementation detail.
IMO, the docs would create more confusion by trying to over-explain, "slicing of tuples always returns a new tuple when the result tuple is distinct from the original; however, in the case where the result tuple is not distinct, the implementation is at liberty to return the original tuple instead of a new tuple. Since tuples are immutable, this should make no difference at all to the user." |
|
Date |
User |
Action |
Args |
2017-03-15 04:25:20 | rhettinger | set | recipients:
+ rhettinger, docs@python, xiang.zhang, MSeifert |
2017-03-15 04:25:20 | rhettinger | set | messageid: <1489551920.87.0.159891195927.issue29813@psf.upfronthosting.co.za> |
2017-03-15 04:25:20 | rhettinger | link | issue29813 messages |
2017-03-15 04:25:20 | rhettinger | create | |
|