mirror of https://github.com/python/cpython
Resolves issue 5690: accidentally skipping code in non-debug build.
This commit is contained in:
parent
a5809c84b3
commit
b4a49f69b0
|
@ -700,10 +700,10 @@ format_int_or_long_internal(PyObject *value, const InternalFormatSpec *format,
|
||||||
else
|
else
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
r =
|
r =
|
||||||
|
#endif
|
||||||
STRINGLIB_GROUPING(pstart, n_digits, n_digits,
|
STRINGLIB_GROUPING(pstart, n_digits, n_digits,
|
||||||
spec.n_total+n_grouping_chars-n_leading_chars,
|
spec.n_total+n_grouping_chars-n_leading_chars,
|
||||||
NULL, 0, "\3", ",");
|
NULL, 0, "\3", ",");
|
||||||
#endif
|
|
||||||
assert(r);
|
assert(r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue