py3: make doc/docchecker use absolute_import
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 13 May 2016 02:40:39 +0530
changeset 29168 8f2805ce93d9
parent 29167 4f76c0c490b3
child 29169 c9ab5a0bc7c5
py3: make doc/docchecker use absolute_import
doc/docchecker
--- a/doc/docchecker	Fri May 13 02:23:45 2016 +0530
+++ b/doc/docchecker	Fri May 13 02:40:39 2016 +0530
@@ -6,8 +6,11 @@
 #
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
+
+from __future__ import absolute_import
+
+import re
 import sys
-import re
 
 leadingline = re.compile(r'(^\s*)(\S.*)$')