R. David Murray added the comment:

I'm not sure there's a "best practice" choice between the two calling forms 
that are documented.  Although obviously when you don't have an instance you 
can't use the instance calling form.  I think it is *common* practice to use 
the instance form when you can, but I'm not sure it is either superior or 
inferior to using the class form.  It partly depends on how you have structured 
your code and why you are using static methods in the first place.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10438>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to