Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a045cb

Browse files
committed
Add versionchanged tag to faq (useless btw because changed text is commented out)
1 parent f23e3f7 commit 8a045cb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Doc/faq/library.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@ using curses, but curses is a fairly large module to learn.
224224
and modify them for non-blocking mode. Since reading stdin when it is empty
225225
results in an :exc:`OSError`, this error is caught and ignored.
226226
227+
.. versionchanged:: 3.3
228+
*sys.stdin.read* used to raise :exc:`IOError`. Starting from Python 3.3
229+
:exc:`IOError` is alias for :exc:`OSError`.
230+
227231
228232
Threads
229233
=======

0 commit comments

Comments
 (0)