summaryrefslogtreecommitdiffstats
path: root/examples3/semaphore.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples3/semaphore.py')
-rwxr-xr-xexamples3/semaphore.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples3/semaphore.py b/examples3/semaphore.py
index 46cdace..79affb2 100755
--- a/examples3/semaphore.py
+++ b/examples3/semaphore.py
@@ -9,7 +9,7 @@ import sys
try:
from python_tqt.qt import TQThread
except:
- print "Thread support not enabled"
+ print("Thread support not enabled")
sys.exit(1)
from python_tqt.qt import *
@@ -192,7 +192,7 @@ class SemaphoreExample(TQWidget):
del s
else:
- print "Unknown custom event type:", event.type()
+ print("Unknown custom event type:", event.type())
app = TQApplication(sys.argv)