MCPcopy Index your code
hub / github.com/python/cpython / getdecoder

Function getdecoder

Lib/codecs.py:985–993  ·  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

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

Callers

nothing calls this directly

Calls 1

lookupFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…