[Python-checkins] cpython: Oops, fix my previous commit: unicode => to

victor.stinner python-checkins at python.org
Thu Sep 29 00:16:51 CEST 2011


http://hg.python.org/cpython/rev/8d4252f0bf14
changeset:   72508:8d4252f0bf14
user:        Victor Stinner <victor.stinner at haypocalc.com>
date:        Thu Sep 29 00:16:58 2011 +0200
summary:
  Oops, fix my previous commit: unicode => to

files:
  Objects/unicodeobject.c |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -642,7 +642,7 @@
                         "Cannot modify a string having more than 1 reference");
         return -1;
     }
-    _PyUnicode_DIRTY(unicode);
+    _PyUnicode_DIRTY(to);
 
     from_kind = PyUnicode_KIND(from);
     to_kind = PyUnicode_KIND(to);
@@ -4881,7 +4881,7 @@
 PyObject *
 PyUnicode_DecodeUnicodeEscape(const char *s,
                               Py_ssize_t size,
-                              const char *errors) 
+                              const char *errors)
 {
     const char *starts = s;
     Py_ssize_t startinpos;

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list