diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-04-12 21:56:34 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-04-12 21:56:34 (GMT) |
commit | 5646de47e18b8a357dff4e01c2f949c6f288e035 (patch) | |
tree | 008fe545cdd7e71b1fd511ff9c24424a55dccce5 /Modules | |
parent | f7377036716066ee5c5631afdb57b32934daf9ae (diff) | |
download | cpython-5646de47e18b8a357dff4e01c2f949c6f288e035.zip cpython-5646de47e18b8a357dff4e01c2f949c6f288e035.tar.gz cpython-5646de47e18b8a357dff4e01c2f949c6f288e035.tar.bz2 |
make DirEntryType and ScandirIteratorType static (closes #23918)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 82eae5e..23c0068 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -11692,7 +11692,7 @@ static PyMethodDef DirEntry_methods[] = { {NULL} }; -PyTypeObject DirEntryType = { +static PyTypeObject DirEntryType = { PyVarObject_HEAD_INIT(NULL, 0) MODNAME ".DirEntry", /* tp_name */ sizeof(DirEntry), /* tp_basicsize */ @@ -12024,7 +12024,7 @@ ScandirIterator_dealloc(ScandirIterator *iterator) Py_TYPE(iterator)->tp_free((PyObject *)iterator); } -PyTypeObject ScandirIteratorType = { +static PyTypeObject ScandirIteratorType = { PyVarObject_HEAD_INIT(NULL, 0) MODNAME ".ScandirIterator", /* tp_name */ sizeof(ScandirIterator), /* tp_basicsize */ |