diff options
-rw-r--r-- | Doc/faq/library.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/faq/library.rst b/Doc/faq/library.rst index 9c458da414..4b0c3d3236 100644 --- a/Doc/faq/library.rst +++ b/Doc/faq/library.rst @@ -205,7 +205,7 @@ without curses:: while 1: try: c = sys.stdin.read(1) - print "Got character", `c` + print "Got character", repr(c) except IOError: pass finally: termios.tcsetattr(fd, termios.TCSAFLUSH, oldterm) |