]> 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:07:50 +0000 (23:07 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Sat, 29 Dec 2012 21:07:50 +0000 (23:07 +0200)
Lib/curses/__init__.py

index a3e9def72a27a240ad9bd7d5450261ad427c36c2..8f09b2459f5a8de5f53e53aed4d4ec62ca437cbc 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()
    ...
 
 """