summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index 2049c9b..1af49eb 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -134,7 +134,7 @@ wr_object(v, fp)
extern object *getdict2key();
key = getdict2key(v, (int)i);
if (key != NULL) {
- val = dictlookup(v, getstringvalue(key));
+ val = dict2lookup(v, key); /* Can't be NULL */
wr_object(key, fp);
wr_object(val, fp);
}