MCPcopy Create free account
hub / github.com/Glyphack/enderpy / unicode_escape

Function unicode_escape

compat/lex_python.py:32–35  ·  view source on GitHub ↗
(input: str)

Source from the content-addressed store, hash-verified

30 sys.exit(1)
31
32def unicode_escape(input: str) -> str:
33 encoded = input.encode("unicode_escape")
34 escaped = encoded.decode("utf-8")
35 return escaped
36
37if args.output_format == "compact":
38 output = "\n".join([

Callers 1

lex_python.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected