On Wed, 6 Nov 2002, Patrick K. O'Brien wrote: > Except the net (args required minus args given) is the same in both cases. > Which would argue for not including self in the results of getargspec(). > Plus, you'll get an error if you try to explicitly pass the first argument. > So while technically self *is* part of the argspec, I think in practice > most applications will end up wanting to eliminate it because Python takes > care of it implicitly. I think it would make the most sense to display the signature you would actually use when calling the method object. That is, if the method is unbound, then 'self' should appear. If the method is bound, then 'self' should not appear. -- ?!ng
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