From: Benjamin Peterson Date: Sun, 12 Sep 2010 16:40:53 +0000 (+0000) Subject: use return NULL; it's just as correct X-Git-Tag: v3.2a3~303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4ac96a3363b7bb9f587abfd41fda3299391fb7d;p=python use return NULL; it's just as correct --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 92df1ce900..489c98cd83 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -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