From 61e2bc74dfab1ceee332d3f480dcf86c478c87c5 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 12 Feb 2017 23:42:02 +0100 Subject: [PATCH] bpo-29176: Fix name of the _curses.window class (#52) Set name to "_curses.window" instead of "_curses.curses window" (with a space!?). --- Modules/_cursesmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index e6a2f25121..78a79e8eef 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -2077,7 +2077,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 */ -- 2.40.0