changeset 43103 | c95b2f40db7c |
parent 43096 | 813aa8cc55d4 |
child 43104 | 74802979dd9d |
--- a/mercurial/pycompat.py Sun Oct 06 14:58:41 2019 -0400 +++ b/mercurial/pycompat.py Sun Oct 06 17:45:05 2019 -0400 @@ -270,7 +270,7 @@ def getdoc(obj): """Get docstring as bytes; may be None so gettext() won't confuse it with _('')""" - doc = getattr(obj, u'__doc__', None) + doc = getattr(obj, '__doc__', None) if doc is None: return doc return sysbytes(doc)