Title: Wording of s * n in Common Sequence Operations is not optimal
Type: Stage: patch review
Components: Documentation Versions:
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: chavdar, docs@python, mdk
Priority: normal Keywords: easy, patch

Created on 2020-10-04 16:20 by mdk, last changed 2020-10-05 19:51 by chavdar.

Pull Requests
URL Status Linked Edit
PR 22570 open chavdar, 2020-10-05 19:51
Messages (2)
msg377958 - (view) Author: Julien Palard (mdk) * (Python committer) Date: 2020-10-04 16:20
As reported by Graham Ewart on docs@,


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.
msg378069 - (view) Author: Chavdar Yotov (chavdar) * Date: 2020-10-05 18:01
Looks like a fitting first contribution. Working on a PR now :-)
Date User Action Args
2020-10-05 19:51:19chavdarsetkeywords: + patch
stage: patch review
pull_requests: + pull_request21566
2020-10-05 18:01:23chavdarsetnosy: + chavdar
messages: + msg378069
2020-10-04 16:20:21mdkcreate