diff options
author | Guido van Rossum <guido@python.org> | 2007-07-25 16:47:51 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-07-25 16:47:51 (GMT) |
commit | 2f2fffb76689df57a93366121f30e078738c552b (patch) | |
tree | adc4b6d019d1f222530f059592d0804e84954031 /Modules/_collectionsmodule.c | |
parent | 3f6dd68e2a006ca5ef4161ca395a7503bfba2262 (diff) | |
download | cpython-2f2fffb76689df57a93366121f30e078738c552b.zip cpython-2f2fffb76689df57a93366121f30e078738c552b.tar.gz cpython-2f2fffb76689df57a93366121f30e078738c552b.tar.bz2 |
Fix two bad type identifiers that caused crashes on OSX (icglue and Nav).
Silence two innocuous warnings (_File and _collections).
Diffstat (limited to 'Modules/_collectionsmodule.c')
-rw-r--r-- | Modules/_collectionsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index e454231..1ee3612 100644 --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -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); } |