summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2011-11-11 08:40:14 (GMT)
committerEli Bendersky <eliben@gmail.com>2011-11-11 08:40:14 (GMT)
commitc2c896093b8d312fabbb898e030331b5d4fc1fc5 (patch)
tree335b8c04074dc8056b24cf3f8e686e798f9ef888
parent98d2c0aba3ddf2e5f0d8e841c7682925a2cedb5a (diff)
downloadcpython-c2c896093b8d312fabbb898e030331b5d4fc1fc5.zip
cpython-c2c896093b8d312fabbb898e030331b5d4fc1fc5.tar.gz
cpython-c2c896093b8d312fabbb898e030331b5d4fc1fc5.tar.bz2
Issue #13365: correct an error in the documentation of str.expandtabs
-rw-r--r--Doc/library/stdtypes.rst2
-rw-r--r--Misc/ACKS1
2 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 942ecba..af1e44a 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1033,7 +1033,7 @@ functions based on regular expressions.
.. 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
index 2fe9174..718efc2 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -285,6 +285,7 @@ Mark Favas
Niels Ferguson
Sebastian Fernandez
Florian Festi
+John Feuerstein
Vincent Fiack
Tomer Filiba
Jeffrey Finkelstein