##// END OF EJS Templates
py3: make sure __repr__ returns a str...
Pulkit Goyal -
r36721:c6901665 default
parent child Browse files
Show More
@@ -748,7 +748,7 b' class basefilectx(object):'
748 __str__ = encoding.strmethod(__bytes__)
748 __str__ = encoding.strmethod(__bytes__)
749
749
750 def __repr__(self):
750 def __repr__(self):
751 return "<%s %s>" % (type(self).__name__, str(self))
751 return r"<%s %s>" % (type(self).__name__, str(self))
752
752
753 def __hash__(self):
753 def __hash__(self):
754 try:
754 try:
General Comments 0
You need to be logged in to leave comments. Login now