summaryrefslogtreecommitdiff
path: root/Doc/library
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2011-11-11 10:40:14 +0200
committerEli Bendersky <eliben@gmail.com>2011-11-11 10:40:14 +0200
commitc2c896093b8d312fabbb898e030331b5d4fc1fc5 (patch)
tree335b8c04074dc8056b24cf3f8e686e798f9ef888 /Doc/library
parent98d2c0aba3ddf2e5f0d8e841c7682925a2cedb5a (diff)
downloadcpython-git-c2c896093b8d312fabbb898e030331b5d4fc1fc5.tar.gz
Issue #13365: correct an error in the documentation of str.expandtabs
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 942ecbad56..af1e44a941 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