Fixed #5960 -- Fixed some Python 2.3 incompatibilities.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2007-11-17 12:58:06 +00:00
parent 4bd75e8712
commit ce73298e26
1 changed files with 0 additions and 2 deletions

View File

@ -57,7 +57,6 @@ class SafeString(str, SafeData):
else:
return SafeUnicode(data)
encode = curry(_proxy_method, method = str.encode)
decode = curry(_proxy_method, method = str.decode)
class SafeUnicode(unicode, SafeData):
@ -89,7 +88,6 @@ class SafeUnicode(unicode, SafeData):
return SafeUnicode(data)
encode = curry(_proxy_method, method = unicode.encode)
decode = curry(_proxy_method, method = unicode.decode)
def mark_safe(s):
"""