Title: Message
I have a class named 'Dir' that I want to be put into another class 'DirList' ( essential a linked list of Dir objects ) using the 'insert()' method. The syntax is 'DirList.insert( Dir )' which works, but then I try to access the 'getSize()' function of the 'Dir' class from *inside* of the DirList class, it gives me this ->
    'I added a node for dir d:/ with size <bound method Dir.getSize of <__main__.Dir instance at 0x00E18CD8>>'
 
Any ideas on what I am doing wrong?
 
Thank You,
 

John A. Gooch
Systems Administrator
IT - Tools
EchoStar Satellite L.L.C.
9601 S. Meridian Blvd.
Englewood, CO  80112
Desk: 720-514-5708

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

Reply via email to