mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-104018: remove unused format "z" handling in string formatfloat() (#104107)
This is a cleanup overlooked in PR #104033.
This commit is contained in:
parent
c53547c907
commit
69621d1b09
4 changed files with 0 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue