summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Golden <mail@timgolden.me.uk>2015-04-06 10:04:49 (GMT)
committerTim Golden <mail@timgolden.me.uk>2015-04-06 10:04:49 (GMT)
commit42c235e833ef0bb807453438dca25609605c1dac (patch)
tree30311dc1748146c023ac0d019774a6d6b99a9101
parent0c803319b00d4c19cf01ee9f5541d907b705b421 (diff)
downloadcpython-42c235e833ef0bb807453438dca25609605c1dac.zip
cpython-42c235e833ef0bb807453438dca25609605c1dac.tar.gz
cpython-42c235e833ef0bb807453438dca25609605c1dac.tar.bz2
Added missing right bracket (reported by Daryl Klakouski)
-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 0aa9c12..a4324b5 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2008,7 +2008,7 @@ expression support in the :mod:`re` module).
.. method:: str.zfill(width)
Return a copy of the string left filled with ASCII ``'0'`` digits to
- make a string of length *width*. A leading sign prefix (``'+'``/``'-'``
+ make a string of length *width*. A leading sign prefix (``'+'``/``'-'``)
is handled by inserting the padding *after* the sign character rather
than before. The original string is returned if *width* is less than
or equal to ``len(s)``.