Commit b4a49f69 authored by Eric Smith's avatar Eric Smith

Resolves issue 5690: accidentally skipping code in non-debug build.

parent a5809c84
......@@ -692,7 +692,7 @@ format_int_or_long_internal(PyObject *value, const InternalFormatSpec *format,
#endif
if (format->type == 'n')
#ifndef NDEBUG
r =
r =
#endif
STRINGLIB_GROUPING_LOCALE(pstart, n_digits, n_digits,
spec.n_total+n_grouping_chars-n_leading_chars,
......@@ -700,10 +700,10 @@ format_int_or_long_internal(PyObject *value, const InternalFormatSpec *format,
else
#ifndef NDEBUG
r =
#endif
STRINGLIB_GROUPING(pstart, n_digits, n_digits,
spec.n_total+n_grouping_chars-n_leading_chars,
NULL, 0, "\3", ",");
#endif
assert(r);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment