[Python-checkins] cpython (2.7): Update docs for string.zfill
andrew.svetlov
python-checkins at python.org
Fri Sep 28 15:32:38 CEST 2012
http://hg.python.org/cpython/rev/2d359ef01dd5
changeset: 79206:2d359ef01dd5
branch: 2.7
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Fri Sep 28 16:32:27 2012 +0300
summary:
Update docs for string.zfill
files:
Doc/library/string.rst | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -1025,8 +1025,9 @@
.. function:: zfill(s, width)
- Pad a numeric string on the left with zero digits until the given width is
- reached. Strings starting with a sign are handled correctly.
+ Pad a numeric string *s* on the left with zero digits until the
+ given *width* is reached. Strings starting with a sign are handled
+ correctly.
.. function:: replace(s, old, new[, maxreplace])
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list