diff options
author | John Belmonte <john@neggie.net> | 2022-02-14 09:00:32 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-13 16:00:32 -0800 |
commit | 1d6ce67c29aa2166ef326952cb605b908fb4f987 (patch) | |
tree | 41f430f6bdbd72b1012dae433f4aa732c339179c /Python/ceval.c | |
parent | 0ae40191793da1877a12d512f0116d99301b2c51 (diff) | |
download | cpython-1d6ce67c29aa2166ef326952cb605b908fb4f987.tar.gz cpython-1d6ce67c29aa2166ef326952cb605b908fb4f987.zip |
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
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions