Mercurial > cpython-lru_cache-weakref
diff Include/unicodeobject.h @ 35808:c2a98ba371c8 legacy-trunk
_PyUnicode_IsWhitespace(),
_PyUnicode_IsLinebreak():
Changed the declarations to match the definitions.
Don't know why they differed; MSVC warned about it;
don't know why only these two functions use "const".
Someone who does may want to do something saner ;-).
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sat, 29 Oct 2005 02:33:18 +0000 |
| parents | 6b8c55877755 |
| children | 7fdc639bc5b4 |
line wrap: on
line diff
--- a/Include/unicodeobject.h Sat Oct 29 00:40:15 2005 +0000 +++ b/Include/unicodeobject.h Sat Oct 29 02:33:18 2005 +0000 @@ -1152,11 +1152,11 @@ ); PyAPI_FUNC(int) _PyUnicode_IsWhitespace( - Py_UNICODE ch /* Unicode character */ + const Py_UNICODE ch /* Unicode character */ ); PyAPI_FUNC(int) _PyUnicode_IsLinebreak( - Py_UNICODE ch /* Unicode character */ + const Py_UNICODE ch /* Unicode character */ ); PyAPI_FUNC(Py_UNICODE) _PyUnicode_ToLowercase(
