Boost C++ Libraries: Ticket #4155: function docstring signatures include self argument https://svn.boost.org/trac10/ticket/4155 <p> 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. </p> <p> For example: <a class="ext-link" href="http://www.murrayc.com/temp/glom_1_14_pydoc.html"><span class="icon">​</span>http://www.murrayc.com/temp/glom_1_14_pydoc.html</a> </p> <p> I'm using boost::python 1.40 in Ubuntu Karmic. I can't find any list of what's changed since then. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4155 Trac 1.4.3 Amaury Forgeot d'Arc <amauryfa@…> Mon, 14 Jun 2010 14:31:36 GMT <link>https://svn.boost.org/trac10/ticket/4155#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4155#comment:1</guid> <description> <p> I agree. FWIW, swig only says "self" with not indication for the type. For example: </p> <pre class="wiki">&gt;&gt;&gt; help(wx.Window.FindWindowByLabel) Help on method FindWindowByLabel in module wx._core: FindWindowByLabel(*args, **kwargs) unbound wx._core.Window method FindWindowByLabel(self, String label) -&gt; Window Find a child of this window by label </pre> </description> <category>Ticket</category> </item> </channel> </rss>