def translate(s, table, deletions="<STR_LIT>"):
if deletions or table is None:<EOL><INDENT>return s.translate(table, deletions)<EOL><DEDENT>else:<EOL><INDENT>return s.translate(table + s[:<NUM_LIT:0>])<EOL><DEDENT>
translate(s,table [,deletions]) -> string

    Return a copy of the string s, where all characters occurring
    in the optional argument deletions are removed, and the
    remaining characters have been mapped through the given
    translation table, which must be a string of length 256.  The
    deletions argument is not allowed for Unicode strings.