mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge doc change from 3.4
This commit is contained in:
commit
3fbcafa476
1 changed files with 1 additions and 1 deletions
|
@ -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)``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue