Skip to content

Commit 6be3140

Browse files
Fix references in the docs
1 parent 56a960c commit 6be3140

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

Doc/library/pyexpat.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ This module provides the following exception, type object and data items:
6767
*major*, *minor*, and *micro*.
6868
All values are integers.
6969
The components can also be accessed by name,
70-
so ``pyexpat.VERSION_INFO[0]`` is equivalent to
71-
``pyexpat.VERSION_INFO.major`` and so on.
70+
so ``xml.parsers.expat.VERSION_INFO[0]`` is equivalent to
71+
``xml.parsers.expat.VERSION_INFO.major`` and so on.
7272
This may be different from the Expat library actually used at runtime,
7373
which is available as :const:`version_info`.
7474

Doc/whatsnew/3.16.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,10 +758,10 @@ xml
758758
building a tree for it.
759759
(Contributed by Serhiy Storchaka in :gh:`63102`.)
760760

761-
* Added constant :const:`~pyexpat.VERSION_INFO` in the
761+
* Added constant :const:`~xml.parsers.expat.VERSION_INFO` in the
762762
:mod:`XML parser <xml.parsers.expat>` module, which provides information
763763
about the version of the Expat library that was used for building the module.
764-
:const:`~pyexpat.version_info` is now a named tuple.
764+
:const:`~xml.parsers.expat.version_info` is now a named tuple.
765765
(Contributed by Serhiy Storchaka in :gh:`157473`.)
766766

767767
zipfile
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
Add constant :const:`pyexpat.VERSION_INFO` which provides information about
2-
the version of the Expat library that was used for building the module.
3-
:const:`pyexpat.version_info` is now a named tuple.
1+
Add constant :const:`xml.parsers.expat.VERSION_INFO` which provides
2+
information about the version of the Expat library that was used for
3+
building the module.
4+
:const:`xml.parsers.expat.version_info` is now a named tuple.

0 commit comments

Comments
 (0)