diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-03 23:22:48 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-03 23:22:48 (GMT) |
commit | 7931d9a9514a727ac476f4850406a7d8f5e1c7f7 (patch) | |
tree | 6df8ab35838150ef46bda826287bd852afa58fd9 /Include/unicodeobject.h | |
parent | 76a31a6bff3b0e809fbf08dd6e572e4e55b8fcfc (diff) | |
download | cpython-7931d9a9514a727ac476f4850406a7d8f5e1c7f7.zip cpython-7931d9a9514a727ac476f4850406a7d8f5e1c7f7.tar.gz cpython-7931d9a9514a727ac476f4850406a7d8f5e1c7f7.tar.bz2 |
Replace PyUnicodeObject type by PyObject
* _PyUnicode_CheckConsistency() now takes a PyObject* instead of void*
* Remove now useless casts to PyObject*
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r-- | Include/unicodeobject.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index dc3bad7..8e29f34 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -2000,9 +2000,8 @@ PyAPI_FUNC(Py_UNICODE*) PyUnicode_AsUnicodeCopy( #endif /* Py_LIMITED_API */ #if defined(Py_DEBUG) && !defined(Py_LIMITED_API) -/* FIXME: use PyObject* type for op */ PyAPI_FUNC(int) _PyUnicode_CheckConsistency( - void *op, + PyObject *op, int check_content); #endif |