Donn Ingle <[EMAIL PROTECTED]> wrote:
> Hi,
> I have seen strange looking things in various Python code like:
> staticmethod and also lines starting with an @ sign, just before
> method defs - I can't find an example right now.
> I have Python 2.5 installed with it's docs, but I can't find any
>
Hi,
I have seen strange looking things in various Python code like:
staticmethod and also lines starting with an @ sign, just before method
defs - I can't find an example right now.
I have Python 2.5 installed with it's docs, but I can't find any discussion
of 'new style' classes and other info.
> I'm not even sure what subject that @ sign stuff falls under.
The magic keyword you're looking for is "decorator" which will
help you find the docs (a quick google for "python decorator"
returns scads of helpful results)
-tkc
--
http://mail.python.org/mailman/listinfo/python-list