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

Unified Diff: Doc/library/pyexpat.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/ossaudiodev.rst ('k') | Doc/library/shelve.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/pyexpat.rst Wed Oct 09 14:20:37 2013 +0300
+++ b/Doc/library/pyexpat.rst Wed Oct 09 16:49:06 2013 +0300
@@ -484,7 +484,7 @@
.. attribute:: ExpatError.code
Expat's internal error number for the specific error. The
- :data:`errors.messages` dictionary maps these error numbers to Expat's error
+ :data:`errors.messages <xml.parsers.expat.errors.messages>` dictionary maps these error numbers to Expat's error
messages. For example::
from xml.parsers.expat import ParserCreate, ExpatError, errors
@@ -495,8 +495,8 @@
except ExpatError as err:
print("Error:", errors.messages[err.code])
- The :mod:`errors` module also provides error message constants and a
- dictionary :data:`~errors.codes` mapping these messages back to the error
+ The :mod:`~xml.parsers.expat.errors` module also provides error message constants and a
+ dictionary :data:`~xml.parsers.expat.errors.codes` mapping these messages back to the error
codes, see below.
« no previous file with comments | « Doc/library/ossaudiodev.rst ('k') | Doc/library/shelve.rst » ('j') | no next file with comments »

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