mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06: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