Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(13)

Unified Diff: Doc/library/exceptions.rst

Issue 18758: Fix internal references in the documentation
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doc/library/enum.rst ('k') | Doc/library/fileinput.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/exceptions.rst Wed Oct 09 14:20:37 2013 +0300
+++ b/Doc/library/exceptions.rst Wed Oct 09 16:49:06 2013 +0300
@@ -146,10 +146,9 @@
.. exception:: EOFError
- Raised when one of the built-in functions (:func:`input` or :func:`raw_input`)
- hits an end-of-file condition (EOF) without reading any data. (N.B.: the
- :meth:`file.read` and :meth:`file.readline` methods return an empty string
- when they hit EOF.)
+ Raised when the :func:`input` function hits an end-of-file condition (EOF)
+ without reading any data. (N.B.: the :meth:`io.IOBase.read` and
+ :meth:`io.IOBase.readline` methods return an empty string when they hit EOF.)
.. exception:: FloatingPointError
@@ -366,7 +365,7 @@
executed, and so that a debugger can execute a script without running the risk
of losing control. The :func:`os._exit` function can be used if it is
absolutely positively necessary to exit immediately (for example, in the child
- process after a call to :func:`fork`).
+ process after a call to :func:`os.fork`).
The exception inherits from :exc:`BaseException` instead of :exc:`Exception` so
that it is not accidentally caught by code that catches :exc:`Exception`. This
@@ -629,7 +628,7 @@
.. exception:: BytesWarning
- Base class for warnings related to :class:`bytes` and :class:`buffer`.
+ Base class for warnings related to :class:`bytes` and :class:`bytearray`.
.. exception:: ResourceWarning
« no previous file with comments | « Doc/library/enum.rst ('k') | Doc/library/fileinput.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+