]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix variable name
authorBenjamin Peterson <benjamin@python.org>
Wed, 26 Nov 2014 20:20:51 +0000 (14:20 -0600)
committerBenjamin Peterson <benjamin@python.org>
Wed, 26 Nov 2014 20:20:51 +0000 (14:20 -0600)
Python/codecs.c

index 8ffa80b2139ee089fdf3652141c93f7f9cf3563f..ff9d1dec4688b74186baaf3187780786ec5af74d 100644 (file)
@@ -1019,7 +1019,7 @@ PyObject *PyCodec_NameReplaceErrors(PyObject *exc)
             *outp++ = Py_hexdigits[c&0xf];
         }
 
-        assert(out == start + ressize);
+        assert(outp == start + ressize);
         assert(_PyUnicode_CheckConsistency(res, 1));
         restuple = Py_BuildValue("(Nn)", res, end);
         Py_DECREF(object);