Permalink
Browse files

DOC: fix doc/source/conf.py to work with Python 3

  • Loading branch information...
1 parent a3bc146 commit 9d8722b5bc76ecb2fe74a8e8dd3a7b1c2c83985b @pv pv committed Feb 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/source/conf.py
View
@@ -45,7 +45,7 @@
version = re.sub(r'(\.dev\d+).*?$', r'\1', version)
# The full version, including alpha/beta/rc tags.
release = numpy.__version__
-print version, release
+print("%s %s" % (version, release))
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
@@ -283,7 +283,7 @@
except ImportError:
pass
else:
- print "NOTE: linkcode extension not found -- no links to source generated"
+ print("NOTE: linkcode extension not found -- no links to source generated")
def linkcode_resolve(domain, info):
"""

0 comments on commit 9d8722b

Please sign in to comment.