On this page
encodings.CodecRegistryError
Up: encodings | Next: encodings.normalize_encoding
Rel: encodings.normalize_encoding, encodings.search_function
Ref: docs.python.org โ encodings.CodecRegistryError
Tags: #public #python3 #stdlib #encodings
Import
import encodings
from encodings import CodecRegistryError
Signature & Overview
encodings.CodecRegistryError(...)
encodings.CodecRegistryError class.
Methods & Attributes
CodecRegistryError.add_note(self, note, /)โ Add a note to the exceptionCodecRegistryError.with_traceback(self, tb, /)โ Set self.traceback to tb and return self.
Usage
import encodings
assert issubclass(encodings.CodecRegistryError, LookupError)
Gotchas
- Raised when a broken codec module fails to return a valid
CodecInfo.
REPL Inspect
from encodings import CodecRegistryError
help(CodecRegistryError)
Linked from
Related notes
- tuts/python3/stdlib_module/encodings/normalize_encoding Linked here; links to this page; shared tags: #encodings, #stdlib
- tuts/python3/stdlib_module/encodings/search_function Linked here; links to this page; shared tags: #encodings, #stdlib
- tuts/python3/stdlib_module/encodings 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
- tuts/c/stdlib/ctype/isalpha shared tags: #stdlib
- tuts/c/stdlib/ctype/isdigit shared tags: #stdlib