On this page
  1. pyexpat.XMLParserType
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

pyexpat.XMLParserType

Prev: pyexpat.ParserCreate | Up: pyexpat
Rel: pyexpat.error, pyexpat.ErrorString, pyexpat.ExpatError, pyexpat.ParserCreate
Ref: docs.python.org — pyexpat.XMLParserType
Tags: #public #python3 #stdlib #pyexpat


Import

import pyexpat
from pyexpat import XMLParserType

Signature & Overview

pyexpat.XMLParserType()

XML parser

Methods & Attributes

Usage

import pyexpat

assert isinstance(pyexpat.ParserCreate(), pyexpat.XMLParserType)

Gotchas

REPL Inspect

from pyexpat import XMLParserType
help(XMLParserType)

Linked from

Related notes