https://github.com/python/cpython/commit/5fbe23ee4ec636b78ca26ce0a8b7d83dff77a2ce commit: 5fbe23ee4ec636b78ca26ce0a8b7d83dff77a2ce branch: main author: Jiayu Yi <yiji...@gmail.com> committer: hugovk <1324225+hug...@users.noreply.github.com> date: 2025-04-10T15:06:38+03:00 summary:
Fix example code in curses tutorial (#126446) files: M Doc/howto/curses.rst 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) _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com