[3.13] Fix example code in curses tutorial (GH-126446) (#132362)

Co-authored-by: Jiayu Yi <yijiayu@gmail.com>
This commit is contained in:
Miss Islington (bot) 2025-04-10 14:13:50 +02:00 committed by GitHub
parent 8e017f2f48
commit fc85256f89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)