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.
1 parent 52396b2 commit b7337a7Copy full SHA for b7337a7
Modules/_cursesmodule.c
@@ -160,9 +160,9 @@ typedef chtype attr_t; /* No attr_t type is available */
160
#define _CURSES_PAIR_CONTENT_FUNC pair_content
161
#endif /* _NCURSES_EXTENDED_COLOR_FUNCS */
162
163
-typedef struct _cursesmodule_state {
164
- PyObject *error; // PyCursesError
165
- PyTypeObject *window_type; // PyCursesWindow_Type
+typedef struct {
+ PyObject *error; // curses exception type
+ PyTypeObject *window_type; // exposed by PyCursesWindow_Type
166
} cursesmodule_state;
167
168
static inline cursesmodule_state *
0 commit comments