This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients larry, zach.ware
Date 2014-01-24.14:06:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390572402.09.0.311482588548.issue20379@psf.upfronthosting.co.za>
In-reply-to
Content
For an object O that are bound to something (either a class or an instance), help(O) traditionally shows the bound argument.  For this code:

    class C:
        def foo(self, a):  pass

    c = C()

help(c.foo) would show the signature as "(self, a)", even though self has been bound.

My recent changes to Python's type system (#20189), to add inspect.Signature support for builtins, broke this.  The previous behavior should be restored.
History
Date User Action Args
2014-01-24 14:06:42larrysetrecipients: + larry, zach.ware
2014-01-24 14:06:42larrysetmessageid: <1390572402.09.0.311482588548.issue20379@psf.upfronthosting.co.za>
2014-01-24 14:06:41larrylinkissue20379 messages
2014-01-24 14:06:41larrycreate