summaryrefslogtreecommitdiffstats
path: root/Lib/stdwin/Split.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-01-01 19:35:13 (GMT)
committerGuido van Rossum <guido@python.org>1992-01-01 19:35:13 (GMT)
commitbdfcfccbe591e15221f35add01132174c9b4e669 (patch)
tree7e5f0d52b8c44e623b12e8f4b5cd645c361e5aeb /Lib/stdwin/Split.py
parent4d8e859e8f0a209a7e999ce9cc0988156c795949 (diff)
downloadcpython-bdfcfccbe591e15221f35add01132174c9b4e669.zip
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.gz
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.bz2
New == syntax
Diffstat (limited to 'Lib/stdwin/Split.py')
-rwxr-xr-xLib/stdwin/Split.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/stdwin/Split.py b/Lib/stdwin/Split.py
index b169d72..aacfa98 100755
--- a/Lib/stdwin/Split.py
+++ b/Lib/stdwin/Split.py
@@ -116,7 +116,7 @@ class Split:
if not self.keybd_focus:
self.set_keybd_focus(self.keybd_interest[0])
type, detail = type_detail
- if type = WE_COMMAND and detail = WC_TAB and \
+ if type == WE_COMMAND and detail == WC_TAB and \
len(self.keybd_interest) > 1:
self.next_keybd_focus()
return
@@ -144,9 +144,9 @@ class Split:
self.timer_interest.remove(child)
if child in self.altdraw_interest:
self.altdraw_interest.remove(child)
- if child = self.mouse_focus:
+ if child == self.mouse_focus:
self.mouse_focus = None
- if child = self.keybd_focus:
+ if child == self.keybd_focus:
self.keybd_focus = None
#
def need_mouse(self, child):
@@ -154,7 +154,7 @@ class Split:
self.mouse_interest.append(child)
self.parent.need_mouse(self)
def no_mouse(self, child):
- if child = self.mouse_focus:
+ if child == self.mouse_focus:
self.mouse_focus = None
if child in self.mouse_interest:
self.mouse_interest.remove(child)
@@ -168,7 +168,7 @@ class Split:
if not self.keybd_focus:
self.set_keybd_focus(child)
def no_keybd(self, child):
- if child = self.keybd_focus:
+ if child == self.keybd_focus:
self.keybd_focus = None # Don't call child.deactivate()
if child in self.keybd_interest:
self.keybd_interest.remove(child)