summaryrefslogtreecommitdiffstats
path: root/Include/tupleobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-01-14 18:45:33 (GMT)
committerGuido van Rossum <guido@python.org>1992-01-14 18:45:33 (GMT)
commit7c36ad7f449c54b8fc445aea28d17bf87fa6f2ea (patch)
tree14fa8d1e5d6f0f535e0193de29f781cec4cff798 /Include/tupleobject.h
parent11c03836a29b5b2666e3026800de32a3193f99ea (diff)
downloadcpython-7c36ad7f449c54b8fc445aea28d17bf87fa6f2ea.zip
cpython-7c36ad7f449c54b8fc445aea28d17bf87fa6f2ea.tar.gz
cpython-7c36ad7f449c54b8fc445aea28d17bf87fa6f2ea.tar.bz2
New function gettupleslice(v, i, j).
Diffstat (limited to 'Include/tupleobject.h')
-rw-r--r--Include/tupleobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/tupleobject.h b/Include/tupleobject.h
index abdf1ea..5a84ef2 100644
--- a/Include/tupleobject.h
+++ b/Include/tupleobject.h
@@ -51,6 +51,7 @@ extern object *newtupleobject PROTO((int size));
extern int gettuplesize PROTO((object *));
extern object *gettupleitem PROTO((object *, int));
extern int settupleitem PROTO((object *, int, object *));
+extern object *gettupleslice PROTO((object *, int, int));
/* Macro, trading safety for speed */
#define GETTUPLEITEM(op, i) ((op)->ob_item[i])