mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +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
|
@ -403,8 +403,7 @@ static char Navrrtype__doc__[] =
|
|||
;
|
||||
|
||||
static PyTypeObject Navrrtype = {
|
||||
PyObject_HEAD_INIT(&PyType_Type)
|
||||
0, /*ob_size*/
|
||||
PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
||||
"Nav.NavReplyRecord", /*tp_name*/
|
||||
sizeof(navrrobject), /*tp_basicsize*/
|
||||
0, /*tp_itemsize*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue