Return to Home Page
      Blog     Consulting     Seminars     Calendar     Books     CD-ROMS     Newsletter     About     FAQ      Search
 

I am not to far into Python to tell You about pendants to statics and finals, but maybe the Python phrasing could be more 'hunam talk' like:
"""The base class relies on You to define the missing methods customize1 and customize2 when called from the base class."""
If You want to make it absolutely clear to the programmer, then define them like
def customize1(self):
raise NotImplementedError
def customize2(self):
raise NotImplementedError
This way they have to be implemented by the descendant (at least I think so...)

f  e  x



Add your comment below. Use an empty line between each paragraph. Paragraphs will be automatically formatted, and single carriage returns will be respected. Use <code> to begin a code block, and </code> to end a code block. Your email address will not be visible to spam harvesters or used in any way except to contact you with further questions.

Your Email Address:

Search     Home     WebLog     Consulting     Seminars     Calendar     Books     CD-ROMS     Newsletter     About     Contact     Site Design     Server Maintenance     Powered by Zope
©2007 MindView, Inc.