diff options
author | Raymond Hettinger <python@rcn.com> | 2004-03-12 16:38:17 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-03-12 16:38:17 (GMT) |
commit | 42bec93e5c0fd114b2f4c3c498b35001d97a94c4 (patch) | |
tree | 9e50d648a8e139a44ed9c22a811571bfa0d35280 /Include/abstract.h | |
parent | fba1cfc49a7ce1b2d7e7eab93ef05c3cc81d6e1a (diff) | |
download | cpython-42bec93e5c0fd114b2f4c3c498b35001d97a94c4.zip cpython-42bec93e5c0fd114b2f4c3c498b35001d97a94c4.tar.gz cpython-42bec93e5c0fd114b2f4c3c498b35001d97a94c4.tar.bz2 |
Make PySequence_Fast_ITEMS public. (Thanks Skip.)
Diffstat (limited to 'Include/abstract.h')
-rw-r--r-- | Include/abstract.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index bc9df05..17ce105 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -1016,7 +1016,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ need to be corrected for a negative index */ -#define _PySequence_Fast_ITEMS(sf) \ +#define PySequence_Fast_ITEMS(sf) \ (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \ : ((PyTupleObject *)(sf))->ob_item) /* Return a pointer to the underlying item array for |