On this page
pyexpat.error
Up: pyexpat | Next: pyexpat.ErrorString
Rel: pyexpat.ErrorString, pyexpat.ExpatError, pyexpat.ParserCreate, pyexpat.XMLParserType
Ref: docs.python.org โ pyexpat.error
Tags: #public #python3 #stdlib #pyexpat
Import
import pyexpat
from pyexpat import error
Signature & Overview
pyexpat.error(...)
pyexpat.error class.
Methods & Attributes
error.add_note(self, note, /)โ Add a note to the exceptionerror.with_traceback(self, tb, /)โ Set self.traceback to tb and return self.
Usage
import pyexpat
assert pyexpat.error is pyexpat.ExpatError
Gotchas
- Alias for
pyexpat.ExpatError.
REPL Inspect
from pyexpat import error
help(error)
Linked from
Related notes
- tuts/python3/stdlib_module/pyexpat/ErrorString Linked here; links to this page; shared tags: #pyexpat, #stdlib
- tuts/python3/stdlib_module/pyexpat/ExpatError Linked here; links to this page; shared tags: #pyexpat, #stdlib
- tuts/python3/stdlib_module/pyexpat/ParserCreate Linked here; links to this page; shared tags: #pyexpat, #stdlib
- tuts/python3/stdlib_module/pyexpat/XMLParserType Linked here; links to this page; shared tags: #pyexpat, #stdlib
- tuts/python3/stdlib_module/pyexpat Linked here; links to this page; shared tags: #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib
- tuts/c/stdlib/assert/static_assert shared tags: #stdlib
- tuts/c/stdlib/ctype shared tags: #stdlib