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

Function rot13

Lib/encodings/rot_13.py:108–109  ·  view source on GitHub ↗
(infile, outfile)

Source from the content-addressed store, hash-verified

106### Filter API
107
108def rot13(infile, outfile):
109 outfile.write(codecs.encode(infile.read(), 'rot-13'))
110
111if __name__ == '__main__':
112 import sys

Callers 2

test_rot13_funcMethod · 0.90
rot_13.pyFile · 0.85

Calls 3

writeMethod · 0.45
encodeMethod · 0.45
readMethod · 0.45

Tested by 1

test_rot13_funcMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…