summaryrefslogtreecommitdiff
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-11-10 12:53:24 +0000
committerGuido van Rossum <guido@python.org>1993-11-10 12:53:24 +0000
commit843846760aa3dd53a1241d164aaf3556a637e385 (patch)
treeef6f71015ba653fb73cc53754dde0cd35ee1574c /Objects/dictobject.c
parentc06ed1131e41b796c1399705dcf8bec1224e39cf (diff)
downloadcpython-843846760aa3dd53a1241d164aaf3556a637e385.tar.gz
* 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.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index c1c1c19cc8..65512beb2b 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -147,7 +147,7 @@ lookmapping(mp, key, hash)
return ep;
}
if (ep->me_key == dummy) {
- if (freeslot != NULL)
+ if (freeslot == NULL)
freeslot = ep;
}
else if (ep->me_hash == hash &&