comparison 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
comparison
equal deleted inserted replaced
28966:ea1fab5293ca 28967:cd5e7195e441
39 39
40 A unix-like system keeps an index of the DESCRIPTIONs, which is accesable 40 A unix-like system keeps an index of the DESCRIPTIONs, which is accesable
41 by the command whatis or apropos. 41 by the command whatis or apropos.
42 42
43 """ 43 """
44 from __future__ import absolute_import
44 45
45 __docformat__ = 'reStructuredText' 46 __docformat__ = 'reStructuredText'
46 47
48 import inspect
47 import re 49 import re
48 50
49 from docutils import nodes, writers, languages 51 from docutils import (
52 languages,
53 nodes,
54 writers,
55 )
50 try: 56 try:
51 import roman 57 import roman
52 except ImportError: 58 except ImportError:
53 from docutils.utils import roman 59 from docutils.utils import roman
54 import inspect 60 import inspect