commit | 615194a3526ce2cd50a255113470ba24e3fca0b9 | [log] [tgz] |
---|---|---|
author | Sjoerd Mullender <sjoerd@acm.org> | Mon Nov 01 13:46:50 1993 +0000 |
committer | Sjoerd Mullender <sjoerd@acm.org> | Mon Nov 01 13:46:50 1993 +0000 |
tree | b4619ccf736036474866cbbe53a22bafd96b6bc0 | |
parent | 0a2fa75a9c2d6618b5fc9e4745551adfc7dd4aba [diff] [blame] |
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.
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 @@ } } - if (resizetuple(&result, j) < 0) + if (resizetuple(&result, j, 0) < 0) return NULL; if (shared)