From fc85256f89e3c7e99c145e34bd6fc9d9b6f326d1 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 10 Apr 2025 14:13:50 +0200 Subject: [PATCH] [3.13] Fix example code in curses tutorial (GH-126446) (#132362) Co-authored-by: Jiayu Yi --- Doc/howto/curses.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/howto/curses.rst b/Doc/howto/curses.rst index f9ad81e38f8d..6994a5328e81 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) -- 2.47.3