MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / translate

Function translate

Lib/stringold.py:347–356  ·  view source on GitHub ↗

translate(s,table [,deletechars]) -> string Return a copy of the string s, where all characters occurring in the optional argument deletechars are removed, and the remaining characters have been mapped through the given translation table, which must be a string of length 256.

(s, table, deletions="")

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

translateMethod · 0.80

Tested by

no test coverage detected