mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Fix the string formatting docs for now; if the feature is changed again, the docs can be changed too.
This commit is contained in:
parent
a1e9ef7a62
commit
7a8e58249c
1 changed files with 1 additions and 2 deletions
|
@ -416,8 +416,7 @@ The available presentation types for floating point and decimal values are:
|
||||||
| ``'%'`` | Percentage. Multiplies the number by 100 and displays |
|
| ``'%'`` | Percentage. Multiplies the number by 100 and displays |
|
||||||
| | in fixed (``'f'``) format, followed by a percent sign. |
|
| | in fixed (``'f'``) format, followed by a percent sign. |
|
||||||
+---------+----------------------------------------------------------+
|
+---------+----------------------------------------------------------+
|
||||||
| None | similar to ``'g'``, except that it prints at least one |
|
| None | the same as ``'g'`` |
|
||||||
| | digit after the decimal point. |
|
|
||||||
+---------+----------------------------------------------------------+
|
+---------+----------------------------------------------------------+
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue