diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-23 18:04:37 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-23 18:04:37 (GMT) |
commit | 9db1a8b69f13f884336556b61252f7ca271f2b76 (patch) | |
tree | edf3c6bad006095a92427022e3a47005c045c4ff /Include | |
parent | 0d60e87ad6d992c8b989dfa1909a2fd8e853ee9a (diff) | |
download | cpython-9db1a8b69f13f884336556b61252f7ca271f2b76.zip cpython-9db1a8b69f13f884336556b61252f7ca271f2b76.tar.gz cpython-9db1a8b69f13f884336556b61252f7ca271f2b76.tar.bz2 |
Replace PyUnicodeObject* by PyObject* where it was irrevelant
A Unicode string can now be a PyASCIIObject, PyCompactUnicodeObject or
PyUnicodeObject. Aliasing a PyASCIIObject* or PyCompactUnicodeObject* to
PyUnicodeObject* is wrong
Diffstat (limited to 'Include')
-rw-r--r-- | Include/unicodeobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 4e492dd..592f4dd 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -1828,7 +1828,7 @@ PyAPI_FUNC(int) PyUnicode_IsIdentifier(PyObject *s); #ifndef Py_LIMITED_API /* Externally visible for str.strip(unicode) */ PyAPI_FUNC(PyObject *) _PyUnicode_XStrip( - PyUnicodeObject *self, + PyObject *self, int striptype, PyObject *sepobj ); |