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.
_tkinter.tkapp
1 parent 8db0113 commit c7213acCopy full SHA for c7213ac
1 file changed
Modules/_tkinter.c
@@ -3326,11 +3326,14 @@ static PyType_Slot Tkapp_Type_slots[] = {
3326
3327
3328
static PyType_Spec Tkapp_Type_spec = {
3329
- "_tkinter.tkapp",
3330
- sizeof(TkappObject),
3331
- 0,
3332
- Py_TPFLAGS_DEFAULT | Py_TPFLAGS_DISALLOW_INSTANTIATION,
3333
- Tkapp_Type_slots,
+ .name = "_tkinter.tkapp",
+ .basicsize = sizeof(TkappObject),
+ .flags = (
+ Py_TPFLAGS_DEFAULT
+ | Py_TPFLAGS_DISALLOW_INSTANTIATION
3334
+ | Py_TPFLAGS_IMMUTABLETYPE
3335
+ ),
3336
+ .slots = Tkapp_Type_slots,
3337
};
3338
3339
static PyMethodDef moduleMethods[] =
0 commit comments