Mercurial > public > mercurial-scm > hg-stable
diff doc/hgmanpage.py @ 28967:cd5e7195e441
py3: make hgmanpage use absolute_import
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 17 Apr 2016 00:23:05 +0530 |
parents | 1aee2ab0f902 |
children | 7c0297bfe8bf |
line wrap: on
line diff
--- a/doc/hgmanpage.py Sun Apr 17 00:20:44 2016 +0530 +++ b/doc/hgmanpage.py Sun Apr 17 00:23:05 2016 +0530 @@ -41,12 +41,18 @@ by the command whatis or apropos. """ +from __future__ import absolute_import __docformat__ = 'reStructuredText' +import inspect import re -from docutils import nodes, writers, languages +from docutils import ( + languages, + nodes, + writers, +) try: import roman except ImportError: