summaryrefslogtreecommitdiffstats
path: root/Objects/abstract.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2001-05-28 13:11:02 (GMT)
committerThomas Wouters <thomas@python.org>2001-05-28 13:11:02 (GMT)
commit6a922372ad24a86306d70889e67edb03815d07c0 (patch)
treeb4a12e7d5a1e9be78e671c485d2fc0c30fbf3856 /Objects/abstract.c
parent15d4929ae4ad5206e2f7fa947d632bfba9b8bfd1 (diff)
downloadcpython-6a922372ad24a86306d70889e67edb03815d07c0.zip
cpython-6a922372ad24a86306d70889e67edb03815d07c0.tar.gz
cpython-6a922372ad24a86306d70889e67edb03815d07c0.tar.bz2
_PyTuple_Resize: take into account the empty tuple. There can be only one.
Instead of raising a SystemError, just create a new tuple of the desired size. This fixes (at least) SF bug #420343.
Diffstat (limited to 'Objects/abstract.c')
0 files changed, 0 insertions, 0 deletions