Favorite non-python language trick?

Simon Brunning simon.brunning at gmail.com
Wed Jul 6 11:30:17 EDT 2005


On 7/6/05, Edvard Majakari <edvard+news at majakari.net> wrote:
> Ability to tag some methods 'deprecated' as in Java (from 1.5
> onwards?). However, Python interpreter doesn't have to do it: pydoc and
> similar tools could detect, say, '@deprecated' in method comment string and
> warn user about it.

http://wiki.python.org/moin/PythonDecoratorLibrary?#head-de01988728ccdec415708f10928cc6feb022e7bb

-- 
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/



More information about the Python-list mailing list