diff options
author | Chavdar Yotov <choko43@gmail.com> | 2021-03-15 22:50:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-15 22:50:49 (GMT) |
commit | 0269ce87c9347542c54a653dd78b9f60bb9fa822 (patch) | |
tree | ae1a943470d6cb6c4bb4b8d511f9749cf9ce0ab2 | |
parent | 0ab152c6b5d95caa2dc1a30fa96e10258b5f188e (diff) | |
download | cpython-0269ce87c9347542c54a653dd78b9f60bb9fa822.zip cpython-0269ce87c9347542c54a653dd78b9f60bb9fa822.tar.gz cpython-0269ce87c9347542c54a653dd78b9f60bb9fa822.tar.bz2 |
bpo-41933: Clarify wording for s * n in Common Sequence Operations (GH-22570)
-rw-r--r-- | Lib/pydoc_data/topics.py | 4 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2020-10-05-20-04-43.bpo-41933.Pff94-.rst | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index 0048f79..a86d422 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -13956,9 +13956,9 @@ topics = {'assert': 'The "assert" statement\n' '| "s + t" | the concatenation of *s* and *t* ' '| (6)(7) |\n' '+----------------------------+----------------------------------+------------+\n' - '| "s * n" or "n * s" | equivalent to adding *s* to ' + '| "s * n" or "n * s" | equivalent to *n* copies of the ' '| (2)(7) |\n' - '| | itself *n* times ' + '| | *s* sequence ' '| |\n' '+----------------------------+----------------------------------+------------+\n' '| "s[i]" | *i*th item of *s*, origin 0 ' diff --git a/Misc/NEWS.d/next/Documentation/2020-10-05-20-04-43.bpo-41933.Pff94-.rst b/Misc/NEWS.d/next/Documentation/2020-10-05-20-04-43.bpo-41933.Pff94-.rst new file mode 100644 index 0000000..f6316df --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2020-10-05-20-04-43.bpo-41933.Pff94-.rst @@ -0,0 +1 @@ +Clarified wording of s * n in the Common Sequence Operations
\ No newline at end of file |