summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2012-10-07 08:29:32 (GMT)
committerArmin Ronacher <armin.ronacher@active-4.com>2012-10-07 08:29:32 (GMT)
commit74b38b190faae988b4951cf46d83f853589aa530 (patch)
tree3259a32fff2a205c6d3d74d9a04c165eb5908686 /Include
parent96e936712f2d926fb566c8680958a07fc6b84c71 (diff)
downloadcpython-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.h4
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);
/*