mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Use dict2lookup.
This commit is contained in:
parent
f0ada4a130
commit
b881314b6f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue