MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / getdecoder

Function getdecoder

tools/python-3.11.9-amd64/Lib/codecs.py:980–988  ·  view source on GitHub ↗

Lookup up the codec for the given encoding and return its decoder function. Raises a LookupError in case the encoding cannot be found.

(encoding)

Source from the content-addressed store, hash-verified

978 return lookup(encoding).encode
979
980def getdecoder(encoding):
981
982 """ Lookup up the codec for the given encoding and return
983 its decoder function.
984
985 Raises a LookupError in case the encoding cannot be found.
986
987 """
988 return lookup(encoding).decode
989
990def getincrementalencoder(encoding):
991

Callers

nothing calls this directly

Calls 1

lookupFunction · 0.70

Tested by

no test coverage detected