removed obsolete remove_escape_chars function - use replace_escape_chars instead

This commit is contained in:
Pablo Hoffman 2009-11-25 22:09:47 -02:00
parent a36909a3f9
commit a48516b105
1 changed files with 0 additions and 3 deletions

View File

@ -120,9 +120,6 @@ def replace_escape_chars(text, which_ones=('\n','\t','\r'), replace_by=u''):
text = text.replace(ec, str_to_unicode(replace_by))
return str_to_unicode(text)
# FIXME: backwards compatibility - should be removed before 0.7 release
remove_escape_chars = replace_escape_chars
def unquote_markup(text, keep=(), remove_illegal=True):
"""
This function receives markup as a text (always a unicode string or a utf-8 encoded string) and does the following: