mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Minor fixes / changes for Mac compatibility.
This commit is contained in:
parent
a3309960a5
commit
1fc238a813
4 changed files with 7 additions and 7 deletions
|
@ -763,7 +763,7 @@ dictinsert(v, key, item)
|
|||
last_name_object = newstringobject(key);
|
||||
if (last_name_object == NULL) {
|
||||
last_name_char = NULL;
|
||||
return NULL;
|
||||
return -1;
|
||||
}
|
||||
last_name_char = key;
|
||||
}
|
||||
|
@ -780,7 +780,7 @@ dictremove(v, key)
|
|||
last_name_object = newstringobject(key);
|
||||
if (last_name_object == NULL) {
|
||||
last_name_char = NULL;
|
||||
return NULL;
|
||||
return -1;
|
||||
}
|
||||
last_name_char = key;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue