mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fix build on gcc: PySetIter_Type should be static in definition
part also.
This commit is contained in:
parent
06d8cf8ceb
commit
e295676c87
1 changed files with 1 additions and 1 deletions
|
|
@ -602,7 +602,7 @@ fail:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
PyTypeObject PySetIter_Type = {
|
||||
static PyTypeObject PySetIter_Type = {
|
||||
PyObject_HEAD_INIT(&PyType_Type)
|
||||
0, /* ob_size */
|
||||
"setiterator", /* tp_name */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue