]> granicus.if.org Git - python/commitdiff
Update docs for string.zfill
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Fri, 28 Sep 2012 13:32:27 +0000 (16:32 +0300)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Fri, 28 Sep 2012 13:32:27 +0000 (16:32 +0300)
Doc/library/string.rst

index a7336c477c02dd0cab55f466f7225b3adec9f98d..1a39ca931324bcf64b8e7d99bcf3c70b5d8ae6e9 100644 (file)
@@ -1025,8 +1025,9 @@ not be removed until Python 3.  The functions defined in this module are:
 
 .. 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])