<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">> > How exactly does this work? Are there web pages about this?<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>><br>> Not that I know of. AFAICS, there is no public API for that (that's why I <br>> wrote "half-private"), but if you look at a functions func_code.co_XXX and <br>> func_defaults properties, you see that there is a lot of internal information <br>> available in CPython.<br><br>Sorry, this looks like more work than I'm able to squeeze in. I was hoping for<br>a well-established, time-tested API, but it looks more like work in progress.<br><br>If someone contributes patches including docs I'd be happy to try them out and check<br>them
in.<br><br>The current docstring support isn't all that complicated. Look in boost/libs/python/src/object/function.cpp,<br>mainly function::signature().<br><br>Ralf<br><br></div></div></div></div><br>
<hr size=1>Take the Internet to Go: Yahoo!Go puts the <a href="http://us.rd.yahoo.com/evt=48253/*http://mobile.yahoo.com/go?refer=1GNXIC">Internet in your pocket:</a> mail, news, photos & more. </body></html>