PyDocs

Nav

Binary Data Services

lookup

codecs

function
  • lookup(encoding, /)
Looks up a codec tuple in the Python codec registry and returns a CodecInfo object.
Changed in 3.9, 3.15
  • 3.9: Any characters except ASCII letters and digits and a dot are converted to underscore.
  • 3.15: No characters are converted to underscore anymore. Spaces are converted to hyphens.
0 Examples
No examples for codecs/lookup.
See Also
No see-alsos for codecs/lookup
0 Notes
No notes for lookup