MNT: Print function -> Print statement

This commit is contained in:
Eric Dill 2015-07-11 11:17:48 -05:00
parent 2888546de6
commit 934c2e437f
5 changed files with 7 additions and 7 deletions

View File

@ -9,6 +9,6 @@ path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')
for a, b in dirs:
rst = [os.path.splitext(x)[0].lower() for x in os.listdir(os.path.join(path, 'documentation', 'source', a))]
py = [os.path.splitext(x)[0].lower() for x in os.listdir(os.path.join(path, b))]
print a
print(a)
for x in set(py) - set(rst):
print " ", x
print( " ", x)

View File

@ -23,7 +23,7 @@ ViewBox
VTickGroup""".split('\n')
for f in files:
print f
print(f)
fh = open(f.lower()+'.rst', 'w')
fh.write(
"""%s

View File

@ -17,7 +17,7 @@ TreeWidget
VerticalLabel""".split('\n')
for f in files:
print f
print(f)
fh = open(f.lower()+'.rst', 'w')
fh.write(
"""%s

View File

@ -28,8 +28,8 @@ def test_exit_crash():
obj = getattr(pg, name)
if not isinstance(obj, type) or not issubclass(obj, pg.QtGui.QWidget):
continue
print name
print(name)
argstr = initArgs.get(name, "")
open(tmp, 'w').write(code.format(path=path, classname=name, args=argstr))
proc = subprocess.Popen([sys.executable, tmp])

View File

@ -47,4 +47,4 @@ class GarbageCollector(object):
def debug_cycles(self):
gc.collect()
for obj in gc.garbage:
print (obj, repr(obj), type(obj))
print(obj, repr(obj), type(obj))