]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-29176: Fix name of the _curses.window class (#52) (#532)
authorMariatta <Mariatta@users.noreply.github.com>
Wed, 8 Mar 2017 16:19:57 +0000 (08:19 -0800)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 8 Mar 2017 16:19:57 +0000 (17:19 +0100)
Set name to "_curses.window" instead of "_curses.curses window" (with
a space!?).
(cherry picked from commit 61e2bc74dfab1ceee332d3f480dcf86c478c87c5)

Modules/_cursesmodule.c

index 3bf2ca7ce15392d5c04975a3cb067c73c69b5489..d88d06e78220ece8ef94badfd24cd10397f29532 100644 (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 */