mirror of https://github.com/python/cpython
use return NULL; it's just as correct
This commit is contained in:
parent
62d52fd966
commit
d4ac96a336
|
@ -769,7 +769,7 @@ PyUnicode_FromFormatV(const char *format, va_list vargs)
|
|||
"PyUnicode_FromFormatV() expects an ASCII-encoded format "
|
||||
"string, got a non-ASCII byte: 0x%02x",
|
||||
(unsigned char)*f);
|
||||
goto fail;
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
/* step 2: allocate memory for the results of
|
||||
|
|
Loading…
Reference in New Issue