]> granicus.if.org Git - python/commitdiff
Add versionchanged tag to faq (useless btw because changed text is commented out)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 19 Dec 2012 11:45:30 +0000 (13:45 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 19 Dec 2012 11:45:30 +0000 (13:45 +0200)
Doc/faq/library.rst

index 804346023f813ce56c9d05d9c6c26eefb6890337..6a2682fc381c0181385a6516ed01525b60b16337 100644 (file)
@@ -224,6 +224,10 @@ using curses, but curses is a fairly large module to learn.
    and modify them for non-blocking mode.  Since reading stdin when it is empty
    results in an :exc:`OSError`, this error is caught and ignored.
 
+   .. versionchanged:: 3.3
+      *sys.stdin.read* used to raise :exc:`IOError`. Starting from Python 3.3
+      :exc:`IOError` is alias for :exc:`OSError`.
+
 
 Threads
 =======