diff options
author | Guido van Rossum <guido@python.org> | 1993-11-10 12:53:24 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-11-10 12:53:24 +0000 |
commit | 843846760aa3dd53a1241d164aaf3556a637e385 (patch) | |
tree | ef6f71015ba653fb73cc53754dde0cd35ee1574c /Objects/dictobject.c | |
parent | c06ed1131e41b796c1399705dcf8bec1224e39cf (diff) | |
download | cpython-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.c | 2 |
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 && |