diff --git a/Doc/howto/curses.rst b/Doc/howto/curses.rst index f9ad81e38f8dc3..6994a5328e8149 100644 --- a/Doc/howto/curses.rst +++ b/Doc/howto/curses.rst @@ -145,8 +145,8 @@ importing the :func:`curses.wrapper` function and using it like this:: v = i-10 stdscr.addstr(i, 0, '10 divided by {} is {}'.format(v, 10/v)) - stdscr.refresh() - stdscr.getkey() + stdscr.refresh() + stdscr.getkey() wrapper(main)