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()