From d4ac96a3363b7bb9f587abfd41fda3299391fb7d Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 12 Sep 2010 16:40:53 +0000 Subject: use return NULL; it's just as correct --- Objects/unicodeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 92df1ce..489c98c 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 -- cgit v0.12