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 /Objects/bytesobject.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 'Objects/bytesobject.c')
-rw-r--r-- | Objects/bytesobject.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c index e7e85cc..abbf3ee 100644 --- a/Objects/bytesobject.c +++ b/Objects/bytesobject.c @@ -423,9 +423,6 @@ formatfloat(PyObject *v, int flags, int prec, int type, if (flags & F_ALT) { dtoa_flags |= Py_DTSF_ALT; } - if (flags & F_NO_NEG_0) { - dtoa_flags |= Py_DTSF_NO_NEG_0; - } p = PyOS_double_to_string(x, type, prec, dtoa_flags, NULL); if (p == NULL) |