[Python-checkins] cpython (2.7): Fix docstring in curses (#16782)

andrew.svetlov python-checkins at python.org
Sat Dec 29 22:11:36 CET 2012


http://hg.python.org/cpython/rev/52900f205e6e
changeset:   81147:52900f205e6e
branch:      2.7
parent:      81139:cf8d692cc847
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Sat Dec 29 23:09:32 2012 +0200
summary:
  Fix docstring in curses (#16782)

files:
  Lib/curses/__init__.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/curses/__init__.py b/Lib/curses/__init__.py
--- a/Lib/curses/__init__.py
+++ b/Lib/curses/__init__.py
@@ -5,7 +5,7 @@
 
    import curses
    from curses import textpad
-   curses.initwin()
+   curses.initscr()
    ...
 
 """

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list