Yet another decorator proposal

Marco Aschwanden PPNTWIMBXFFC at spammotel.com
Fri Aug 13 03:32:58 EDT 2004


On Thu, 12 Aug 2004 16:41:36 +0200, Reinhold Birkenfeld 
<reinhold-birkenfeld-nospam at wolke7.net> wrote:

> It doesn't really need to be triple-quoted, does it?


>>> def test():
... 	"A little test."
... 	print "hi"
... 	
>>> test.__doc__
'A little test.'
>>>

It seems not, but I am not aware what language reference says to that...

Marco




More information about the Python-list mailing list