utility functions within a class?

John Salerno johnjsal at NOSPAMgmail.com
Sun May 7 23:14:23 EDT 2006


jeffshannon at gmail.com wrote:

> Even if you don't end up referring to self or any instance
> attributes within the method, it's simpler to keep it as a normal
> method.

Thanks, that makes sense to me! So basically just create them as 
methods, and if I want a little 'privacy' I can lead with an underscore? 
Somehow that sounds like the right idea... :)



More information about the Python-list mailing list