Message209078
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. |
|
Date |
User |
Action |
Args |
2014-01-24 14:06:42 | larry | set | recipients:
+ larry, zach.ware |
2014-01-24 14:06:42 | larry | set | messageid: <1390572402.09.0.311482588548.issue20379@psf.upfronthosting.co.za> |
2014-01-24 14:06:41 | larry | link | issue20379 messages |
2014-01-24 14:06:41 | larry | create | |
|