combine doxygen and doc-strings?

Gabriel Zachmann zach at in.tu-clausthal.de
Fri Nov 18 09:41:29 EST 2005


Is there a way to combine doxygen comments, like this one


## Documentation for a function.
#  @var a - variable
#  More details.

def func( a ):
     pass


with the doc strings, like this one


def func( a ):
     """ Documentation for a function.
         More details.
     """
     pass


?
Obviously, one would like to write the documentaion only once.

Best regards,
Gabriel.

-- 
/-----------------------------------------------------------------------\
| Any intelligent fool can make things bigger, more complex,            |
| or more violent. It takes a touch of genius - and a lot of courage -  |
| to move in the opposite direction.                         (Einstein) |
\-----------------------------------------------------------------------/



More information about the Python-list mailing list