diff -r 79e469ae13b7 Doc/library/exceptions.rst --- a/Doc/library/exceptions.rst Fri Aug 08 17:24:06 2014 +0300 +++ b/Doc/library/exceptions.rst Wed Aug 13 10:41:39 2014 -0400 @@ -467,7 +467,12 @@ ^^^^^^^^^^^^^ The following exceptions are subclasses of :exc:`OSError`, they get raised -depending on the system error code. +depending on the system error code. A table depicting the exception hierarchy for +OS exceptions has been included for reference. + +.. literalinclude:: ../../Lib/test/exception_hierarchy.txt + :start-after: UnboundLocalError + :end-before: ReferenceError .. exception:: BlockingIOError