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

Function getreader

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

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

(encoding)

Source from the content-addressed store, hash-verified

1016 return decoder
1017
1018def getreader(encoding):
1019
1020 """ Lookup up the codec for the given encoding and return
1021 its StreamReader class or factory function.
1022
1023 Raises a LookupError in case the encoding cannot be found.
1024
1025 """
1026 return lookup(encoding).streamreader
1027
1028def getwriter(encoding):
1029

Callers

nothing calls this directly

Calls 1

lookupFunction · 0.70

Tested by

no test coverage detected