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.Tcl_Obj
1 parent c919d02 commit 53c9fe8Copy full SHA for 53c9fe8
1 file changed
Modules/_tkinter.c
@@ -906,11 +906,14 @@ static PyType_Slot PyTclObject_Type_slots[] = {
906
};
907
908
static PyType_Spec PyTclObject_Type_spec = {
909
- "_tkinter.Tcl_Obj",
910
- sizeof(PyTclObject),
911
- 0,
912
- Py_TPFLAGS_DEFAULT | Py_TPFLAGS_DISALLOW_INSTANTIATION,
913
- PyTclObject_Type_slots,
+ .name = "_tkinter.Tcl_Obj",
+ .basicsize = sizeof(PyTclObject),
+ .flags = (
+ Py_TPFLAGS_DEFAULT
+ | Py_TPFLAGS_DISALLOW_INSTANTIATION
914
+ | Py_TPFLAGS_IMMUTABLETYPE
915
+ ),
916
+ .slots = PyTclObject_Type_slots,
917
918
919
0 commit comments