MNT: Print function -> Print statement
This commit is contained in:
parent
2888546de6
commit
934c2e437f
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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])
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user