durusmail: quixote-users: Documenting PTL
Documenting PTL
2004-07-05
2004-07-05
2004-07-06
2004-07-06
Re: Documenting PTL
2004-07-06
Documenting PTL
Titus Brown
2004-07-05
-> def doc_attr [html] (request):
->     __doc__ = '''
->      Syntatically correct Python, just need to bind __doc__
->         to the function.
->     '''

[ munch ]

-> """
-> A Javadoc style;
-> stick the docstring above the function.
-> """
-> def javadoc_style [html] (request):
->     ....

[ munch ]

Personal preference only, I 'spose, but these two would be most minimal
in altering how I actually write code...

--titus

reply