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

Function getwriter

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

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

(encoding)

Source from the content-addressed store, hash-verified

1026 return lookup(encoding).streamreader
1027
1028def getwriter(encoding):
1029
1030 """ Lookup up the codec for the given encoding and return
1031 its StreamWriter class or factory function.
1032
1033 Raises a LookupError in case the encoding cannot be found.
1034
1035 """
1036 return lookup(encoding).streamwriter
1037
1038def iterencode(iterator, encoding, errors='strict', **kwargs):
1039 """

Callers

nothing calls this directly

Calls 1

lookupFunction · 0.70

Tested by

no test coverage detected