Skip to content

Commit d4ac96a

Browse files
committed
use return NULL; it's just as correct
1 parent 62d52fd commit d4ac96a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/unicodeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ PyUnicode_FromFormatV(const char *format, va_list vargs)
769769
"PyUnicode_FromFormatV() expects an ASCII-encoded format "
770770
"string, got a non-ASCII byte: 0x%02x",
771771
(unsigned char)*f);
772-
goto fail;
772+
return NULL;
773773
}
774774
}
775775
/* step 2: allocate memory for the results of

0 commit comments

Comments
 (0)