summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1993-11-01 13:46:50 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1993-11-01 13:46:50 (GMT)
commit615194a3526ce2cd50a255113470ba24e3fca0b9 (patch)
treeb4619ccf736036474866cbbe53a22bafd96b6bc0 /Python/bltinmodule.c
parent0a2fa75a9c2d6618b5fc9e4745551adfc7dd4aba (diff)
downloadcpython-615194a3526ce2cd50a255113470ba24e3fca0b9.zip
cpython-615194a3526ce2cd50a255113470ba24e3fca0b9.tar.gz
cpython-615194a3526ce2cd50a255113470ba24e3fca0b9.tar.bz2
Fixed bugs in resizetuple and extended the interface.
Added ifdefs in stringobject.c for shared strings of length 1. Renamed free_list in tupleobject.c to free_tuples.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index f4d7f47..6069ae0 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1319,7 +1319,7 @@ filtertuple(func, tuple)
}
}
- if (resizetuple(&result, j) < 0)
+ if (resizetuple(&result, j, 0) < 0)
return NULL;
if (shared)