MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / encode

Function encode

markdown_it/_punycode.py:31–32  ·  view source on GitHub ↗
(uni: str)

Source from the content-addressed store, hash-verified

29
30
31def encode(uni: str) -> str:
32 return codecs.encode(uni, encoding="punycode").decode()
33
34
35def decode(ascii: str) -> str:

Callers 1

mappingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…