New == syntax
diff --git a/Lib/lib-stdwin/WindowSched.py b/Lib/lib-stdwin/WindowSched.py
index 9125317..67c3afb 100644
--- a/Lib/lib-stdwin/WindowSched.py
+++ b/Lib/lib-stdwin/WindowSched.py
@@ -21,7 +21,7 @@
#
# Use millisleep for very short delays or if there are no windows
#
- if msecs < 100 or mainloop.countwindows() = 0:
+ if msecs < 100 or mainloop.countwindows() == 0:
if msecs > 0:
time.millisleep(msecs)
return
@@ -46,7 +46,7 @@
# Emptiness check must check both queues
#
def empty():
- return q.empty() and mainloop.countwindows() = 0
+ return q.empty() and mainloop.countwindows() == 0
# Run until there is nothing left to do
#