https://github.com/python/cpython/commit/fc85256f89e3c7e99c145e34bd6fc9d9b6f326d1 commit: fc85256f89e3c7e99c145e34bd6fc9d9b6f326d1 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: hugovk <1324225+hug...@users.noreply.github.com> date: 2025-04-10T12:13:50Z summary:
[3.13] Fix example code in curses tutorial (GH-126446) (#132362) Co-authored-by: Jiayu Yi <yiji...@gmail.com> 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