Skip to content

Commit 8db0113

Browse files
committed
make _curses_panel.panel immutable
1 parent 53c9fe8 commit 8db0113

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/_curses_panel.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ static PyType_Spec PyCursesPanel_Type_spec = {
684684
.flags = (
685685
Py_TPFLAGS_DEFAULT
686686
| Py_TPFLAGS_DISALLOW_INSTANTIATION
687+
| Py_TPFLAGS_IMMUTABLETYPE
687688
| Py_TPFLAGS_HAVE_GC
688689
),
689690
.slots = PyCursesPanel_Type_slots

0 commit comments

Comments
 (0)