On 25 January 2014 14:36, Steven D'Aprano <steve at pearwood.info> wrote: > On Fri, Jan 24, 2014 at 08:07:43PM -0800, Larry Hastings wrote: >> A) pydoc and help() should not show bound parameters in the signature, >> like inspect.signature. >> B) pydoc and help() should show bound parameters in the signature, like >> inspect.getfullargspec. > > Provided they are described as *methods* rather than *functions*, bound > methods should not show self. Likewise for classmethod and cls. That is, > I'm voting +1 on A provided help() doesn't confuse methods and > functions. +1 from me for fixing the signature help() and pydoc report for bound methods that are reported as such. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4