diff options
author | John Belmonte <john@neggie.net> | 2022-02-14 03:05:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 03:05:11 (GMT) |
commit | 0b1417d597c9ed5f9cd981fbf62824f41c740b17 (patch) | |
tree | 3415d26fcda2d294c7749b6d565089d82ee115c8 /Lib/asyncio/protocols.py | |
parent | c31b8a97a8a7e8255231c9e12ed581c6240c0d6c (diff) | |
download | cpython-0b1417d597c9ed5f9cd981fbf62824f41c740b17.zip cpython-0b1417d597c9ed5f9cd981fbf62824f41c740b17.tar.gz cpython-0b1417d597c9ed5f9cd981fbf62824f41c740b17.tar.bz2 |
[3.9] Corrections to format precision description. (GH-31291) (GH-31321)
* `precision` field is a decimal integer
* clarify that stated limitations are on presentation type
rather than input value type. Especially misleading is
"precision is not allowed for integer values", since integer
value input to a format like `.1f` is fine.
* regarding max field size, replace "non-number" with "string",
which is the only non-numeric presentation type
Automerge-Triggered-By: GH:ericvsmith.
(cherry picked from commit 1d6ce67c29aa2166ef326952cb605b908fb4f987)
Co-authored-by: John Belmonte <john@neggie.net>
Diffstat (limited to 'Lib/asyncio/protocols.py')
0 files changed, 0 insertions, 0 deletions