summaryrefslogtreecommitdiffstats
path: root/Include/unicodeobject.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-11-03 23:22:48 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-11-03 23:22:48 (GMT)
commit7931d9a9514a727ac476f4850406a7d8f5e1c7f7 (patch)
tree6df8ab35838150ef46bda826287bd852afa58fd9 /Include/unicodeobject.h
parent76a31a6bff3b0e809fbf08dd6e572e4e55b8fcfc (diff)
downloadcpython-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.h3
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