mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Fix two bad type identifiers that caused crashes on OSX (icglue and Nav).
Silence two innocuous warnings (_File and _collections).
This commit is contained in:
parent
3f6dd68e2a
commit
2f2fffb766
4 changed files with 4 additions and 6 deletions
|
|
@ -1103,7 +1103,7 @@ defdict_copy(defdictobject *dd)
|
|||
whose class constructor has the same signature. Subclasses that
|
||||
define a different constructor signature must override copy().
|
||||
*/
|
||||
return PyObject_CallFunctionObjArgs(Py_Type(dd),
|
||||
return PyObject_CallFunctionObjArgs((PyObject *)Py_Type(dd),
|
||||
dd->default_factory, dd, NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue