[C++-sig] Get parameter info of function or method
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Tue Sep 21 18:15:18 CEST 2010
Boost.Python generates docstrings during compilation, which you can retrieve
with
obj.__doc__
Some examples:
http://www.boost.org/doc/libs/1_44_0/libs/python/doc/v2/docstring_options.html
Ralf
----- Original Message ----
From: Simon Warg <simwarg at gmail.com>
To: "cplusplus-sig at python.org" <cplusplus-sig at python.org>
Sent: Tue, September 21, 2010 6:53:40 AM
Subject: [C++-sig] Get parameter info of function or method
>
> Hi,
I'm currently generating doc for my live boost.python classes, instances and
function. But I can't find any way to retrieve the parameter info of functions
and its signature because it has no __code__ attribute due to it's written I
C++. Any solution to this?
More information about the Cplusplus-sig
mailing list