(self, estr)
return estr
Translate substrings of estr using in order the dictionaries in
        dict_tuple_str.
Translate substrings of estr using in order the dictionaries in
        dict_tuple_str.
Translate substrings of estr using in order the dictionaries in dict_tuple_str .
def translate_str(self, estr):
        """Translate substrings of estr using in order the dictionaries in
        dict_tuple_str."""
        for pattern, repl in self.dict_str.items():
                estr = re.sub(pattern, repl, estr)
        return estr
def translate_str ( self , estr ) : for pattern , repl in self . dict_str . items ( ) : estr = re . sub ( pattern , repl , estr ) return estr