summaryrefslogtreecommitdiff
path: root/Include/tupleobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-10-26 17:58:25 +0000
committerGuido van Rossum <guido@python.org>1993-10-26 17:58:25 +0000
commit12d12c5faf4d770160b7975b54e8f9b12694e012 (patch)
treee5528ca45963a90c5797073228090d221cdc6bba /Include/tupleobject.h
parent444fc7c90cf210ec72f1c4204310f659263b6f75 (diff)
downloadcpython-git-12d12c5faf4d770160b7975b54e8f9b12694e012.tar.gz
* compile.[ch]: support for lambda()
* PROTO.h, mymalloc.h: added #ifdefs for TURBOC and GNUC. * allobjects.h: added #include "rangeobject.h" * Grammar: added lambda_input; relaxed syntax for exec. * bltinmodule.c: added bagof, map, reduce, lambda, xrange. * tupleobject.[ch]: added resizetuple(). * rangeobject.[ch]: new object type to speed up range operations (not convinced this is needed!!!)
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 b5f2230604..8fe28a2394 100644
--- a/Include/tupleobject.h
+++ b/Include/tupleobject.h
@@ -58,6 +58,7 @@ 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));
+extern int resizetuple PROTO((object **, int));
/* Macro, trading safety for speed */
#define GETTUPLEITEM(op, i) ((op)->ob_item[i])