projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c29cc6a
)
Fix indentation in Objects/longobject.c
author
Mark Dickinson
<dickinsm@gmail.com>
Sat, 4 Dec 2010 11:06:25 +0000
(11:06 +0000)
committer
Mark Dickinson
<dickinsm@gmail.com>
Sat, 4 Dec 2010 11:06:25 +0000
(11:06 +0000)
Objects/longobject.c
patch
|
blob
|
history
diff --git
a/Objects/longobject.c
b/Objects/longobject.c
index 534e52dfd38370214784c20cc6aa97c5f27e1f55..4737787b878ec0fd21cb930a475dfd5083d04b99 100644
(file)
--- a/
Objects/longobject.c
+++ b/
Objects/longobject.c
@@
-2144,9
+2144,9
@@
PyLong_FromUnicode(Py_UNICODE *u, Py_ssize_t length, int base)
/* 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) {