Am 30.10.2012 18:23, schrieb Jean-Michel Pichavant:
----- Original Message -----
[snip]
I haven't figured out the justification for staticmethod,

http://en.wikipedia.org/wiki/Namespace
+
"Namespaces are one honking great idea -- let's do more of those!"

Someone may successfully use only modules as namespaces, but classes
can be used as well. It's up to you.

Indeed, see e.g. Steven D'Aprano's approach at formalizing that:

http://code.activestate.com/recipes/578279/


Greetings!

Uli

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to