We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
[posix,nt].DirEntry
1 parent ba55263 commit 934432eCopy full SHA for 934432e
Modules/posixmodule.c
@@ -16035,11 +16035,14 @@ static PyType_Slot DirEntryType_slots[] = {
16035
};
16036
16037
static PyType_Spec DirEntryType_spec = {
16038
- MODNAME ".DirEntry",
16039
- sizeof(DirEntry),
16040
- 0,
16041
- Py_TPFLAGS_DEFAULT | Py_TPFLAGS_DISALLOW_INSTANTIATION,
16042
- DirEntryType_slots
+ .name = MODNAME ".DirEntry",
+ .basicsize = sizeof(DirEntry),
+ .flags = (
+ Py_TPFLAGS_DEFAULT
+ | Py_TPFLAGS_DISALLOW_INSTANTIATION
16043
+ | Py_TPFLAGS_IMMUTABLETYPE
16044
+ ),
16045
+ .slots = DirEntryType_slots
16046
16047
16048
0 commit comments