diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-13 20:09:14 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-13 20:09:14 (GMT) |
commit | bfdcd436f0410e2b3eb34ce4fd7411488d3f13fb (patch) | |
tree | 92e02b473c00b7dc9cbe908681723079a3466c7f /Doc/library/pyexpat.rst | |
parent | 24201d497cf23d399cceadad8058261c13ae536f (diff) | |
download | cpython-bfdcd436f0410e2b3eb34ce4fd7411488d3f13fb.zip cpython-bfdcd436f0410e2b3eb34ce4fd7411488d3f13fb.tar.gz cpython-bfdcd436f0410e2b3eb34ce4fd7411488d3f13fb.tar.bz2 |
Issue #18758: Fixed and improved cross-references.
Diffstat (limited to 'Doc/library/pyexpat.rst')
-rw-r--r-- | Doc/library/pyexpat.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst index e3b7917..b1543d8 100644 --- a/Doc/library/pyexpat.rst +++ b/Doc/library/pyexpat.rst @@ -484,8 +484,8 @@ ExpatError Exceptions .. 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 - messages. For example:: + :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,9 +495,9 @@ ExpatError Exceptions 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 - codes, see below. + 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. .. attribute:: ExpatError.lineno |