Added comment about derivation problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -245,6 +245,11 @@ class Publisher:
|
|||||||
# hiding the class object so it can't be instantiated any more. From
|
# hiding the class object so it can't be instantiated any more. From
|
||||||
# this point forward any calls to Publisher() will invoke the __call__
|
# this point forward any calls to Publisher() will invoke the __call__
|
||||||
# of this instance which just returns itself.
|
# of this instance which just returns itself.
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# employed.
|
||||||
Publisher = Publisher()
|
Publisher = Publisher()
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user