cpython: a6ea6f803017 (original) (raw)

Mercurial > cpython

changeset 80934:a6ea6f803017

Mention OSError instead of IOError in the docs.

Andrew Svetlov andrew.svetlov@gmail.com
date Tue, 18 Dec 2012 23:16:44 +0200
parents 50d19c2fac82
children 7cfca9ede861
files Doc/faq/library.rst
diffstat 1 files changed, 2 insertions(+), 2 deletions(-)[+] [-] Doc/faq/library.rst 4

line wrap: on

line diff

--- a/Doc/faq/library.rst +++ b/Doc/faq/library.rst @@ -209,7 +209,7 @@ using curses, but curses is a fairly lar try: c = sys.stdin.read(1) print("Got character", repr(c))

@@ -222,7 +222,7 @@ using curses, but curses is a fairly lar :func:termios.tcsetattr turns off stdin's echoing and disables canonical mode. :func:fcntl.fnctl is used to obtain stdin's file descriptor flags and modify them for non-blocking mode. Since reading stdin when it is empty

Threads