New submission from Julien Palard <julien+pyt...@palard.fr>:

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.

----------
assignee: docs@python
components: Documentation
keywords: easy
messages: 377958
nosy: docs@python, mdk
priority: normal
severity: normal
status: open
title: Wording of s * n in Common Sequence Operations is not optimal

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41933>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to