From 83ab6406d6c7b5b5629b4f47861318cc577103fc Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 31 Dec 2002 22:09:18 +0000 Subject: [PATCH] Some typos and such git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/contrib/dllwidget/dllwidget.py | 2 +- wxPython/wxPython/lib/evtmgr.py | 9 ++++++--- wxPython/wxPython/lib/pubsub.py | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/wxPython/contrib/dllwidget/dllwidget.py b/wxPython/contrib/dllwidget/dllwidget.py index 63b7609f9c..df51cc6a54 100644 --- a/wxPython/contrib/dllwidget/dllwidget.py +++ b/wxPython/contrib/dllwidget/dllwidget.py @@ -1,5 +1,5 @@ # The SWIG module is named dllwidget_ to avoid name clashes, so -# this stub just imports everything in it so the firendly module +# this stub just imports everything in it so the friendly module # name can be used elsewhere. from dllwidget_ import * diff --git a/wxPython/wxPython/lib/evtmgr.py b/wxPython/wxPython/lib/evtmgr.py index 1b660f4f15..6d83307863 100644 --- a/wxPython/wxPython/lib/evtmgr.py +++ b/wxPython/wxPython/lib/evtmgr.py @@ -132,6 +132,10 @@ class EventManager: except AttributeError: pass + # Some aliases for Register + Bind = Register + Subscribe = Register + def DeregisterWindow(self, win): """ @@ -167,8 +171,7 @@ class EventManager: def GetStats(self): """ - Return a dictionary with data about - my state. + Return a dictionary with data about my state. """ stats = {} stats['Adapters: Message'] = reduce(lambda x,y: x+y, map(len, self.messageAdapterDict.values())) @@ -352,7 +355,7 @@ class FakeWindow: FakeWindow is the most important component of the macro-info utility: it implements the Connect() protocol of wxWindow, but instead of registering - for events, it keeps track of what parameters where + for events, it keeps track of what parameters were passed to it. """ def __init__(self): diff --git a/wxPython/wxPython/lib/pubsub.py b/wxPython/wxPython/lib/pubsub.py index 62a148deda..0a6b995b3d 100644 --- a/wxPython/wxPython/lib/pubsub.py +++ b/wxPython/wxPython/lib/pubsub.py @@ -248,7 +248,7 @@ class Publisher: # # The only flaw with this approach is that you can't derive a new # class from Publisher without jumping through hoops. If this ever -# becomes an issue then a new Sing;eton implementaion will need to be +# becomes an issue then a new Singleton implementaion will need to be # employed. Publisher = Publisher()