mirror of
https://github.com/python/cpython.git
synced 2025-09-25 17:59:57 +00:00
Issue #13365: correct an error in the documentation of str.expandtabs
This commit is contained in:
parent
98d2c0aba3
commit
c2c896093b
2 changed files with 2 additions and 1 deletions
|
@ -1033,7 +1033,7 @@ functions based on regular expressions.
|
||||||
|
|
||||||
.. method:: str.expandtabs([tabsize])
|
.. method:: str.expandtabs([tabsize])
|
||||||
|
|
||||||
Return a copy of the string where all tab characters are replaced by one or
|
Return a copy of the string where all tab characters are replaced by zero or
|
||||||
more spaces, depending on the current column and the given tab size. The
|
more spaces, depending on the current column and the given tab size. The
|
||||||
column number is reset to zero after each newline occurring in the string.
|
column number is reset to zero after each newline occurring in the string.
|
||||||
If *tabsize* is not given, a tab size of ``8`` characters is assumed. This
|
If *tabsize* is not given, a tab size of ``8`` characters is assumed. This
|
||||||
|
|
|
@ -285,6 +285,7 @@ Mark Favas
|
||||||
Niels Ferguson
|
Niels Ferguson
|
||||||
Sebastian Fernandez
|
Sebastian Fernandez
|
||||||
Florian Festi
|
Florian Festi
|
||||||
|
John Feuerstein
|
||||||
Vincent Fiack
|
Vincent Fiack
|
||||||
Tomer Filiba
|
Tomer Filiba
|
||||||
Jeffrey Finkelstein
|
Jeffrey Finkelstein
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue