Skip to content

Commit

Permalink
bpo-29176: Fix name of the _curses.window class (#52)
Browse files Browse the repository at this point in the history
Set name to "_curses.window" instead of "_curses.curses window" (with
a space!?).
(cherry picked from commit 61e2bc7)
  • Loading branch information
vstinner authored and Mariatta committed Mar 7, 2017
1 parent 130c4ec commit 51c864c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_cursesmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,7 @@ static PyGetSetDef PyCursesWindow_getsets[] = {

PyTypeObject PyCursesWindow_Type = {
PyVarObject_HEAD_INIT(NULL, 0)
"_curses.curses window", /*tp_name*/
"_curses.window", /*tp_name*/
sizeof(PyCursesWindowObject), /*tp_basicsize*/
0, /*tp_itemsize*/
/* methods */
Expand Down

0 comments on commit 51c864c

Please sign in to comment.