va_end vargs2 once (closes #28417)
This commit is contained in:
parent
1c3a121bb0
commit
b329e1bb5b
|
@ -2895,7 +2895,6 @@ PyUnicode_FromFormatV(const char *format, va_list vargs)
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if ((unsigned char)*p > 127) {
|
if ((unsigned char)*p > 127) {
|
||||||
va_end(vargs2);
|
|
||||||
PyErr_Format(PyExc_ValueError,
|
PyErr_Format(PyExc_ValueError,
|
||||||
"PyUnicode_FromFormatV() expects an ASCII-encoded format "
|
"PyUnicode_FromFormatV() expects an ASCII-encoded format "
|
||||||
"string, got a non-ASCII byte: 0x%02x",
|
"string, got a non-ASCII byte: 0x%02x",
|
||||||
|
|
Loading…
Reference in New Issue