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

Skip to content

Commit 6e9002c

Browse files
committed
Issue #13365: correct an error in the documentation of str.expandtabs. Patch by John Feuerstein
2 parents b0a1d62 + c2c8960 commit 6e9002c

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
@@ -1037,7 +1037,7 @@ functions based on regular expressions.
10371037

10381038
.. method:: str.expandtabs([tabsize])
10391039

1040-
Return a copy of the string where all tab characters are replaced by one or
1040+
Return a copy of the string where all tab characters are replaced by zero or
10411041
more spaces, depending on the current column and the given tab size. The
10421042
column number is reset to zero after each newline occurring in the string.
10431043
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
@@ -306,6 +306,7 @@ Boris Feld
306306
Niels Ferguson
307307
Sebastian Fernandez
308308
Florian Festi
309+
John Feuerstein
309310
Vincent Fiack
310311
Tomer Filiba
311312
Jeffrey Finkelstein

0 commit comments

Comments
 (0)