mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Fixed DefExpr.__str__
This commit is contained in:
@@ -110,7 +110,7 @@ class DefinitionError(Exception):
|
||||
return self.description
|
||||
|
||||
def __str__(self):
|
||||
return unicode(self.encode('utf-8'))
|
||||
return unicode(self).encode('utf-8')
|
||||
|
||||
|
||||
class DefExpr(object):
|
||||
|
||||
Reference in New Issue
Block a user