mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix indentation in Objects/longobject.c
This commit is contained in:
parent
c29cc6a8f2
commit
c9fb3c6417
1 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue