[Python-Dev] Quick poll: should help() show bound arguments? (original) (raw)

Tres Seaver tseaver at palladion.com
Sat Jan 25 07:03:00 CET 2014


-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On 01/24/2014 11:07 PM, 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.

+1 for A: it is how you would actually call the object on which 'help()' is being called. The fact that self will be passed silently is irrelevant to the caller.

Tres. - --

Tres Seaver +1 540-429-0999 tseaver at palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlLjU4UACgkQ+gerLs4ltQ48SQCg0zMZseKV3EZ/0pRkc5ngt2tb aFMAn0Vhze2wMEim6Vf7F1fvlh+j3PJ/ =Mx/i -----END PGP SIGNATURE-----



More information about the Python-Dev mailing list