Re: Docstrings considered too complicated
- From: BlueBird <phil@xxxxxxxxxxxxxxx>
- Date: Wed, 3 Mar 2010 01:40:24 -0800 (PST)
On Feb 24, 9:23 pm, Andreas Waldenburger <use...@xxxxxxxxxxxxxxxx>
wrote:
Hi all,
a company that works with my company writes a lot of of their code in
Python (lucky jerks). I've seen their code and it basically looks like
this:
"""Function that does stuff"""
def doStuff():
while not wise(up):
yield scorn
Now my question is this: How do I kill these people without the
authorities thinking they didn't deserve it?
If they are generating their doc with doxygen, I think it's the right
choice. See:
http://www.stack.nl/~dimitri/doxygen/docblocks.html#pythonblocks
Oops, after a second look, doxygen needs comments before the function,
not doc strings.
Philippe
.
- Prev by Date: Re: python 2.6: how to modify a PIL image from C without copying forth and back
- Next by Date: Re: Image.frombuffer and warning
- Previous by thread: Re: Docstrings considered too complicated
- Next by thread: Re: Docstrings considered too complicated
- Index(es):