mirror of
https://github.com/python/cpython.git
synced 2025-08-29 21:25:01 +00:00
_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 ;-).
This commit is contained in:
parent
00b5c932f3
commit
2576c97f52
1 changed files with 2 additions and 2 deletions
|
@ -1152,11 +1152,11 @@ PyAPI_FUNC(int) _PyUnicode_IsTitlecase(
|
|||
);
|
||||
|
||||
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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue