MCPcopy Create free account
hub / github.com/ActiveState/code / transform

Function transform

recipes/Python/496857_zcryptpy/recipe-496857.py:30–32  ·  view source on GitHub ↗

Returns a valid transformation.

(key, string)

Source from the content-addressed store, hash-verified

28 return ''.join(key)
29
30def transform(key, string):
31 'Returns a valid transformation.'
32 return string.translate(key)
33
34################################################################################
35

Callers

nothing calls this directly

Calls 1

translateMethod · 0.45

Tested by

no test coverage detected