]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix docstring in curses (#16782)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Sat, 29 Dec 2012 21:09:32 +0000 (23:09 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Sat, 29 Dec 2012 21:09:32 +0000 (23:09 +0200)
Lib/curses/__init__.py

index bd7d5f61cf4512c946a0c4e224cde36b03b24a9f..ecf59de37d069d5760f9127fdea838e481efe717 100644 (file)
@@ -5,7 +5,7 @@ the package, and perhaps a particular module inside it.
 
    import curses
    from curses import textpad
-   curses.initwin()
+   curses.initscr()
    ...
 
 """