Opened 12 years ago
Last modified 12 years ago
#4155 new Bugs
function docstring signatures include self argument
Reported by: | Owned by: | Dave Abrahams | |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | python USE GITHUB |
Version: | Boost 1.40.0 | Severity: | Problem |
Keywords: | Cc: |
Description
boost::python generates Python signatures, but these include a useless (and confusing) arg1 arguments for the class's self. I don't believe that python documentation should generally show this because people know that they are class methods.
For example: http://www.murrayc.com/temp/glom_1_14_pydoc.html
I'm using boost::python 1.40 in Ubuntu Karmic. I can't find any list of what's changed since then.
Note:
See TracTickets
for help on using tickets.
I agree. FWIW, swig only says "self" with not indication for the type. For example: