diff options
author | Sjoerd Mullender <sjoerd@acm.org> | 1993-10-11 12:54:31 (GMT) |
---|---|---|
committer | Sjoerd Mullender <sjoerd@acm.org> | 1993-10-11 12:54:31 (GMT) |
commit | a9c3c22c33762699b362e7598268442fd2df9eb6 (patch) | |
tree | 7ff6bdfb7228abf0a566b6d3215a383796bd5cbf /Objects/tupleobject.c | |
parent | 35fe6ec4cf6e192829a5bd28c080761157258e3e (diff) | |
download | cpython-a9c3c22c33762699b362e7598268442fd2df9eb6.zip cpython-a9c3c22c33762699b362e7598268442fd2df9eb6.tar.gz cpython-a9c3c22c33762699b362e7598268442fd2df9eb6.tar.bz2 |
* Extended X interface: pixmap objects, colormap objects visual objects,
image objects, and lots of new methods.
* Added counting of allocations and deallocations of builtin types if
COUNT_ALLOCS is defined. Had to move calls to NEWREF down in some
files.
* Bug fix in sorting lists.
Diffstat (limited to 'Objects/tupleobject.c')
-rw-r--r-- | Objects/tupleobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index faf46d5..fae9386 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -40,11 +40,11 @@ newtupleobject(size) malloc(sizeof(tupleobject) + size * sizeof(object *)); if (op == NULL) return err_nomem(); - NEWREF(op); op->ob_type = &Tupletype; op->ob_size = size; for (i = 0; i < size; i++) op->ob_item[i] = NULL; + NEWREF(op); return (object *) op; } |