summaryrefslogtreecommitdiff
path: root/Mac/Demo/imgbrowse/imgbrowse.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Demo/imgbrowse/imgbrowse.py')
-rw-r--r--Mac/Demo/imgbrowse/imgbrowse.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mac/Demo/imgbrowse/imgbrowse.py b/Mac/Demo/imgbrowse/imgbrowse.py
index 57cddd3eb4..fddfc999a0 100644
--- a/Mac/Demo/imgbrowse/imgbrowse.py
+++ b/Mac/Demo/imgbrowse/imgbrowse.py
@@ -25,7 +25,7 @@ MAXHEIGHT=320
def main():
- print 'hello world'
+ print('hello world')
imgbrowse()
class imgbrowse(FrameWork.Application):
@@ -84,10 +84,10 @@ class imgwindow(FrameWork.Window):
def do_update(self, *args):
pass
currect = self.fitrect()
- print 'PICT:', self.pictrect
- print 'WIND:', currect
- print 'ARGS:', (self.pixmap, self.wid.GetWindowPort().GetPortBitMapForCopyBits(), self.pictrect,
- currect, QuickDraw.srcCopy, None)
+ print('PICT:', self.pictrect)
+ print('WIND:', currect)
+ print('ARGS:', (self.pixmap, self.wid.GetWindowPort().GetPortBitMapForCopyBits(), self.pictrect,
+ currect, QuickDraw.srcCopy, None))
self.info()
Qd.CopyBits(self.pixmap, self.wid.GetWindowPort().GetPortBitMapForCopyBits(), self.pictrect,
currect, QuickDraw.srcCopy, None)