Since # the list seems thick with OOP questions at the moment, I thought
this might # be relevant.  Digest and enjoy.

class Item ( object ):

    def __init__( self ):
        self._FullName = ''
        self._Recovery = 0
        self._Exporter = SimpleItemExporter (); # <----? Don't
understand

Bummer, I was hoping to consider myself at the tip of intermediate
python programming <sigh>... 

This is the first time I have ever seen a variable set to what appears
to be a function address(?). Since I am at work I can't copy paste this
thing yet. Is SimpleItemExporter from the parent class, object? I am
assuming Item extends or inherits (or whatever the right "word" is) from
object.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to