bpo-29176: Fix name of the _curses.window class (#52) (#532)

Set name to "_curses.window" instead of "_curses.curses window" (with
a space!?).
(cherry picked from commit 61e2bc74df)
This commit is contained in:
Mariatta 2017-03-08 08:19:57 -08:00 committed by Victor Stinner
parent eb65edd102
commit 7253aded71

View file

@ -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 */