diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2012-10-07 08:29:32 (GMT) |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2012-10-07 08:29:32 (GMT) |
commit | 74b38b190faae988b4951cf46d83f853589aa530 (patch) | |
tree | 3259a32fff2a205c6d3d74d9a04c165eb5908686 /Include | |
parent | 96e936712f2d926fb566c8680958a07fc6b84c71 (diff) | |
download | cpython-74b38b190faae988b4951cf46d83f853589aa530.zip cpython-74b38b190faae988b4951cf46d83f853589aa530.tar.gz cpython-74b38b190faae988b4951cf46d83f853589aa530.tar.bz2 |
Issue #16148: Small improvements and cleanup. Added version information
to docs.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/abstract.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index 8148675..e2b0750 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -403,7 +403,9 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ PyAPI_FUNC(Py_ssize_t) PyObject_Length(PyObject *o); #define PyObject_Length PyObject_Size -PyAPI_FUNC(int) _PyObject_HasLen(PyObject *o); +#ifndef Py_LIMITED_API + PyAPI_FUNC(int) _PyObject_HasLen(PyObject *o); +#endif PyAPI_FUNC(Py_ssize_t) PyObject_LengthHint(PyObject *o, Py_ssize_t); /* |