]> granicus.if.org Git - python/commitdiff
bpo-29176: Fix name of the _curses.window class (#52)
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 12 Feb 2017 22:42:02 +0000 (23:42 +0100)
committerGitHub <noreply@github.com>
Sun, 12 Feb 2017 22:42:02 +0000 (23:42 +0100)
Set name to "_curses.window" instead of "_curses.curses window" (with
a space!?).

Modules/_cursesmodule.c

index e6a2f25121ed327270f53ef64cf6614273899823..78a79e8eef03bcd404a1a34b1366e0dca45ba73d 100644 (file)
@@ -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 */