diff Python/bltinmodule.c @ 1380:a4aa83012af3 legacy-trunk

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.
author Sjoerd Mullender <sjoerd@acm.org>
date Mon, 01 Nov 1993 13:46:50 +0000
parents f3a325662d39
children f992ac2a38d5
line wrap: on
line diff
--- a/Python/bltinmodule.c	Sat Oct 30 12:39:49 1993 +0000
+++ b/Python/bltinmodule.c	Mon Nov 01 13:46:50 1993 +0000
@@ -1319,7 +1319,7 @@
 		}
 	}
 
-	if (resizetuple(&result, j) < 0)
+	if (resizetuple(&result, j, 0) < 0)
 		return NULL;
 
 	if (shared)