gh-104018: remove unused format "z" handling in string formatfloat() (#104107)
This is a cleanup overlooked in PR #104033.
This commit is contained in:
@@ -13452,8 +13452,6 @@ formatfloat(PyObject *v, struct unicode_format_arg_t *arg,
|
||||
|
||||
if (arg->flags & F_ALT)
|
||||
dtoa_flags |= Py_DTSF_ALT;
|
||||
if (arg->flags & F_NO_NEG_0)
|
||||
dtoa_flags |= Py_DTSF_NO_NEG_0;
|
||||
p = PyOS_double_to_string(x, arg->ch, prec, dtoa_flags, NULL);
|
||||
if (p == NULL)
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user