mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Update docs for string.zfill
This commit is contained in:
parent
9ac20231e0
commit
0c68c5ddb2
1 changed files with 3 additions and 2 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue