Skip to content

Commit

Permalink
DOC: fix doc/source/conf.py to work with Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
pv committed Feb 27, 2013
1 parent a3bc146 commit 9d8722b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/conf.py
Expand Up @@ -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:
Expand Down Expand Up @@ -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):
"""
Expand Down

0 comments on commit 9d8722b

Please sign in to comment.