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

Method decode

Lib/encodings/punycode.py:231–234  ·  view source on GitHub ↗
(self, input, final=False)

Source from the content-addressed store, hash-verified

229
230class IncrementalDecoder(codecs.IncrementalDecoder):
231 def decode(self, input, final=False):
232 if self.errors not in ('strict', 'replace', 'ignore'):
233 raise UnicodeError(f"Unsupported error handling: {self.errors}")
234 return punycode_decode(input, self.errors)
235
236class StreamWriter(Codec,codecs.StreamWriter):
237 pass

Callers

nothing calls this directly

Calls 1

punycode_decodeFunction · 0.85

Tested by

no test coverage detected