[Python-checkins] cpython (3.2): Issue #13365: correct an error in the documentation of str.expandtabs
eli.bendersky
python-checkins at python.org
Fri Nov 11 09:34:42 CET 2011
http://hg.python.org/cpython/rev/84f803fdc0d2
changeset: 73491:84f803fdc0d2
branch: 3.2
parent: 73474:6ddda809ea8c
user: Eli Bendersky <eliben at gmail.com>
date: Fri Nov 11 10:40:14 2011 +0200
summary:
Issue #13365: correct an error in the documentation of str.expandtabs
files:
Doc/library/stdtypes.rst | 2 +-
Misc/ACKS | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1033,7 +1033,7 @@
.. 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
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
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -285,6 +285,7 @@
Niels Ferguson
Sebastian Fernandez
Florian Festi
+John Feuerstein
Vincent Fiack
Tomer Filiba
Jeffrey Finkelstein
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list