bpo-41933: Clarify wording for s * n in Common Sequence Operations (GH-22570)

This commit is contained in:
Chavdar Yotov 2021-03-15 22:50:49 +00:00 committed by GitHub
parent 0ab152c6b5
commit 0269ce87c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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 '

View File

@ -0,0 +1 @@
Clarified wording of s * n in the Common Sequence Operations