mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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;
|
||||
}
|
||||
|
||||
PyTypeObject unpackiter_type = {
|
||||
static PyTypeObject unpackiter_type = {
|
||||
PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
||||
"unpack_iterator", /* tp_name */
|
||||
sizeof(unpackiterobject), /* tp_basicsize */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue