diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-02-14 00:21:32 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-14 00:21:32 (GMT) |
| commit | 6a7dd3f9e9771279c8ee71dd3fd39a42f9b0ccff (patch) | |
| tree | ccf0f7e3fa95a02ed539d2af3ff1b35d402afc37 /Python/_warnings.c | |
| parent | 44666c3285a52c2a4632f89aeeddd7ca7d02c8df (diff) | |
| download | cpython-6a7dd3f9e9771279c8ee71dd3fd39a42f9b0ccff.zip cpython-6a7dd3f9e9771279c8ee71dd3fd39a42f9b0ccff.tar.gz cpython-6a7dd3f9e9771279c8ee71dd3fd39a42f9b0ccff.tar.bz2 | |
Corrections to format precision description. (GH-31291)
* `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 'Python/_warnings.c')
0 files changed, 0 insertions, 0 deletions
