diff options
| author | Chavdar Yotov <choko43@gmail.com> | 2021-03-15 22:50:49 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-15 23:50:49 +0100 |
| commit | 0269ce87c9347542c54a653dd78b9f60bb9fa822 (patch) | |
| tree | ae1a943470d6cb6c4bb4b8d511f9749cf9ce0ab2 | |
| parent | 0ab152c6b5d95caa2dc1a30fa96e10258b5f188e (diff) | |
| download | cpython-git-0269ce87c9347542c54a653dd78b9f60bb9fa822.tar.gz | |
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 0048f79b8c..a86d42247c 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 0000000000..f6316df5d8 --- /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 |
