[PATCH 2 of 8] py3: make doc/docchecker use print_function

Pulkit Goyal 7895pulkit at gmail.com
Thu May 12 17:28:55 EDT 2016


# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1463087495 -19800
#      Fri May 13 02:41:35 2016 +0530
# Node ID 38bb8fd782fc45a129f581c8f90cf5b8097f57e1
# Parent  edaa549fd32eb620beb255e979019ee91bb0d414
py3: make doc/docchecker use print_function

diff --git a/doc/docchecker b/doc/docchecker
--- a/doc/docchecker
+++ b/doc/docchecker
@@ -7,7 +7,7 @@
 # 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
+from __future__ import absolute_import, print_function
 
 import re
 import sys


More information about the Mercurial-devel mailing list