mirror of https://github.com/python/cpython
Fix build on gcc: PySetIter_Type should be static in definition
part also.
This commit is contained in:
parent
06d8cf8ceb
commit
e295676c87
|
@ -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…
Reference in New Issue