FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-140771: Add class directive for xmlparser in pyexpat docs by kovan · Pull Request #144456 · python/cpython · GitHub

Repository navigation

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
gh-140771: Add class directive for xmlparser in pyexpat docs
Add a class directive for xmlparser so that all the :class:`xmlparser`
references in the documentation resolve properly. Document that the
type is available as xml.parsers.expat.XMLParserType.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
  • Loading branch information
kovan and claude committed Feb 3, 2026
commit bc344bb985104ba995ca51a83718e4b93e009f46
8 changes: 7 additions & 1 deletion Doc/library/pyexpat.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,15 @@ This module provides one exception and one type object:
Alias for :exc:`ExpatError`.


.. class:: xmlparser

The type of XML parser objects returned by the :func:`ParserCreate` function.
This type is available as ``xml.parsers.expat.XMLParserType``.


.. data:: XMLParserType

The type of the return values from the :func:`ParserCreate` function.
Alias for :class:`xmlparser`.

The :mod:`xml.parsers.expat` module contains two functions:

Expand Down
Loading

Back | FazBrowse Home | New Git URL