mirror of
https://github.com/python/cpython.git
synced 2025-12-09 10:37:17 +00:00
- Modules/_struct.c (unpackiter_type): Define static.
This commit is contained in:
parent
5de397e158
commit
46c5deb130
1 changed files with 1 additions and 1 deletions
|
|
@ -1626,7 +1626,7 @@ unpackiter_iternext(unpackiterobject *self)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PyTypeObject unpackiter_type = {
|
static PyTypeObject unpackiter_type = {
|
||||||
PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
||||||
"unpack_iterator", /* tp_name */
|
"unpack_iterator", /* tp_name */
|
||||||
sizeof(unpackiterobject), /* tp_basicsize */
|
sizeof(unpackiterobject), /* tp_basicsize */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue