diff Objects/mappingobject.c @ 1406:474823e5f7dc legacy-trunk

* parsermodule.c, Makefile, config.c: rudimentary interface to the Python parser. * mappingobject.c (lookmapping): 'freeslot' was never used due to a bug in the code.
author Guido van Rossum <guido@python.org>
date Wed, 10 Nov 1993 12:53:24 +0000
parents 90c5e2bb4da5
children c914b10bf2ed
line wrap: on
line diff
--- a/Objects/mappingobject.c	Wed Nov 10 09:23:53 1993 +0000
+++ b/Objects/mappingobject.c	Wed Nov 10 12:53:24 1993 +0000
@@ -147,7 +147,7 @@
 				return ep;
 		}
 		if (ep->me_key == dummy) {
-			if (freeslot != NULL)
+			if (freeslot == NULL)
 				freeslot = ep;
 		}
 		else if (ep->me_hash == hash &&