mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Issue #21124: Fix building _struct on Cygwin.
Patch by Masayuki Yamamoto.
This commit is contained in:
parent
14b4b41cdc
commit
854adb1e01
2 changed files with 5 additions and 1 deletions
|
@ -1650,7 +1650,7 @@ unpackiter_iternext(unpackiterobject *self)
|
|||
}
|
||||
|
||||
static PyTypeObject unpackiter_type = {
|
||||
PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
||||
PyVarObject_HEAD_INIT(NULL, 0)
|
||||
"unpack_iterator", /* tp_name */
|
||||
sizeof(unpackiterobject), /* tp_basicsize */
|
||||
0, /* tp_itemsize */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue