[BangPypers] Expressing meta-data about classes, methods, variables, parameters in python

Heshan Suriyaarachchi heshan.suri at gmail.com
Thu Apr 3 10:33:24 CEST 2008


Hi
What I meant was a situation like this.

In javascript I'm used to associating metadata with a function as
follows.

foo.bar = "foobar";
function foo(){
}

What is the normal python practice to do this kind of a thing.

Your help is very much appreciated.

Thanks,
Heshan Suriyaarachchi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/bangpypers/attachments/20080403/4a21d341/attachment.htm 


More information about the BangPypers mailing list