Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #5960 -- Fixed some Python 2.3 incompatibilities.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ce73298e26b903080ae1b7e67a1a9d1ec0c5108a 1 parent 4bd75e8
@malcolmt malcolmt authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  django/utils/safestring.py
View
2  django/utils/safestring.py
@@ -57,7 +57,6 @@ def _proxy_method(self, *args, **kwargs):
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 @@ def _proxy_method(self, *args, **kwargs):
return SafeUnicode(data)
encode = curry(_proxy_method, method = unicode.encode)
- decode = curry(_proxy_method, method = unicode.decode)
def mark_safe(s):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.