diff Objects/unicodeobject.c @ 64679:b7e244f34cc8

use return NULL; it's just as correct
author Benjamin Peterson <benjamin@python.org>
date Sun, 12 Sep 2010 16:40:53 +0000
parents 852bb052156a
children 7c7d1d96e2c3
line wrap: on
line diff
--- a/Objects/unicodeobject.c	Sun Sep 12 16:31:58 2010 +0000
+++ b/Objects/unicodeobject.c	Sun Sep 12 16:40:53 2010 +0000
@@ -769,7 +769,7 @@
                 "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