Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c2c8960

Browse files
committed
Issue #13365: correct an error in the documentation of str.expandtabs
1 parent 98d2c0a commit c2c8960

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ functions based on regular expressions.
10331033

10341034
.. method:: str.expandtabs([tabsize])
10351035

1036-
Return a copy of the string where all tab characters are replaced by one or
1036+
Return a copy of the string where all tab characters are replaced by zero or
10371037
more spaces, depending on the current column and the given tab size. The
10381038
column number is reset to zero after each newline occurring in the string.
10391039
If *tabsize* is not given, a tab size of ``8`` characters is assumed. This

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ Mark Favas
285285
Niels Ferguson
286286
Sebastian Fernandez
287287
Florian Festi
288+
John Feuerstein
288289
Vincent Fiack
289290
Tomer Filiba
290291
Jeffrey Finkelstein

0 commit comments

Comments
 (0)