summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorGustavo Serra Scalet <gustavo.scalet@eldorado.org.br>2016-09-30 15:24:28 -0300
committerGustavo Serra Scalet <gustavo.scalet@eldorado.org.br>2016-09-30 15:24:28 -0300
commita7eb3c7452afabde4cc69a85d8e1e5145ce05412 (patch)
treec32552faacb2649caf10faf08ab7a7036fd1cad3 /numpy
parent86c780d1c60473b594db7a241419167ebc3df687 (diff)
downloadnumpy-a7eb3c7452afabde4cc69a85d8e1e5145ce05412.tar.gz
Fix test code on cpuinfo's main function
Due to future print import (py3k style), the commented code should also have the strings enclosed with parentheses or else it'll break.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/distutils/cpuinfo.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/distutils/cpuinfo.py b/numpy/distutils/cpuinfo.py
index 03860c151..dba5a3298 100644
--- a/numpy/distutils/cpuinfo.py
+++ b/numpy/distutils/cpuinfo.py
@@ -681,13 +681,13 @@ cpu = cpuinfo()
# cpu.is_Intel()
# cpu.is_Alpha()
#
-# print 'CPU information:',
+# print('CPU information:'),
# for name in dir(cpuinfo):
# if name[0]=='_' and name[1]!='_':
# r = getattr(cpu,name[1:])()
# if r:
# if r!=1:
-# print '%s=%s' %(name[1:],r),
+# print('%s=%s' %(name[1:],r))
# else:
-# print name[1:],
-# print
+# print(name[1:]),
+# print()