https://github.com/python/cpython/commit/fc85256f89e3c7e99c145e34bd6fc9d9b6f326d1
commit: fc85256f89e3c7e99c145e34bd6fc9d9b6f326d1
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2025-04-10T12:13:50Z
summary:

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

Co-authored-by: Jiayu Yi <[email protected]>

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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to