Commit 553fa443 authored by Guido van Rossum's avatar Guido van Rossum

Correct a typo and remove an unqualified except that was hiding the error.

parent f801f3b0
...@@ -39,8 +39,8 @@ class WindowList: ...@@ -39,8 +39,8 @@ class WindowList:
def unregister_callback(self, callback): def unregister_callback(self, callback):
try: try:
self.callback.remove(callback) self.callbacks.remove(callback)
except: except ValueError:
pass pass
def call_callbacks(self): def call_callbacks(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment