Message377958
As reported by Graham Ewart on docs@,
in https://docs.python.org/3/library/stdtypes.html#common-sequence-operations:
s * n or n * s | equivalent to adding s to itself n times
is badly worded. In fact it's more like n-1 times, but yet it's not adding s to itself.
I'd go for "n times the s sequence" or "n copies of the s sequence" instead, which both avoid the "n-1" and the "to itself" parts. |
|
Date |
User |
Action |
Args |
2020-10-04 16:20:21 | mdk | set | recipients:
+ mdk, docs@python |
2020-10-04 16:20:21 | mdk | set | messageid: <1601828421.16.0.497838866676.issue41933@roundup.psfhosted.org> |
2020-10-04 16:20:21 | mdk | link | issue41933 messages |
2020-10-04 16:20:21 | mdk | create | |
|