[Python-checkins] r87023 - python/branches/py3k/Objects/longobject.c

mark.dickinson python-checkins at python.org
Sat Dec 4 12:06:25 CET 2010


Author: mark.dickinson
Date: Sat Dec  4 12:06:25 2010
New Revision: 87023

Log:
Fix indentation in Objects/longobject.c

Modified:
   python/branches/py3k/Objects/longobject.c

Modified: python/branches/py3k/Objects/longobject.c
==============================================================================
--- python/branches/py3k/Objects/longobject.c	(original)
+++ python/branches/py3k/Objects/longobject.c	Sat Dec  4 12:06:25 2010
@@ -2144,9 +2144,9 @@
     /* Replace non-ASCII whitespace with ' ' */
     ptr = PyUnicode_AS_UNICODE(asciidig);
     for (i = 0; i < length; i++) {
-      Py_UNICODE ch = ptr[i];
-      if (ch > 127 && Py_UNICODE_ISSPACE(ch))
-        ptr[i] = ' ';
+        Py_UNICODE ch = ptr[i];
+        if (ch > 127 && Py_UNICODE_ISSPACE(ch))
+            ptr[i] = ' ';
     }
     buffer = _PyUnicode_AsStringAndSize(asciidig, &buflen);
     if (buffer == NULL) {


More information about the Python-checkins mailing list