Fred L. Drake, Jr. wrote:
> class Foo:
> """Documentation is good."""
>
> @class implements(IFoo)
That's an interesting idea. It could be applied to
functions, too:
def myfunc(myargs):
"""Documentation is hoopy"
@def biguglydecorator(longconvolutedarglist)
Someone is going to object that the evaluation
time and environment of the decorator is screwy.
But I don't care. :-)
Greg
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com