diff options
author | John Belmonte <john@neggie.net> | 2023-05-07 04:41:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-07 04:41:42 (GMT) |
commit | 69621d1b09c996e43a1e13d2fa4c317d3dd4d738 (patch) | |
tree | c4b74959642b2b1825850569fbd5f8201287b775 /Python/ast_opt.c | |
parent | c53547c907371be53c8016145d73ba4ea0a22756 (diff) | |
download | cpython-69621d1b09c996e43a1e13d2fa4c317d3dd4d738.zip cpython-69621d1b09c996e43a1e13d2fa4c317d3dd4d738.tar.gz cpython-69621d1b09c996e43a1e13d2fa4c317d3dd4d738.tar.bz2 |
gh-104018: remove unused format "z" handling in string formatfloat() (#104107)
This is a cleanup overlooked in PR #104033.
Diffstat (limited to 'Python/ast_opt.c')
-rw-r--r-- | Python/ast_opt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/ast_opt.c b/Python/ast_opt.c index 8270fa8..3883ec9 100644 --- a/Python/ast_opt.c +++ b/Python/ast_opt.c @@ -317,7 +317,6 @@ simple_format_arg_parse(PyObject *fmt, Py_ssize_t *ppos, case ' ': *flags |= F_BLANK; continue; case '#': *flags |= F_ALT; continue; case '0': *flags |= F_ZERO; continue; - case 'z': *flags |= F_NO_NEG_0; continue; } break; } |