commit | 52dfc74080a8bc6949ca713d862c9324ac62ca5c | [log] [tgz] |
---|---|---|
author | R David Murray <rdmurray@bitdance.com> | Tue Mar 19 02:32:35 2013 -0400 |
committer | R David Murray <rdmurray@bitdance.com> | Tue Mar 19 02:32:35 2013 -0400 |
tree | 6ec1a18089f33775ef8fd6eb454eac04f6e742b5 | |
parent | 6227c6952e5b9ab4c41f027b5e971b6812e24efa [diff] | |
parent | 9929bc543a014f3c7f764d79a614fc8a9751d7ce [diff] |
#17476: make allmethods actually return all methods. This fixes a regression relative to Python2. (In 2, methods on a class were unbound methods and matched the inspect queries being done, in 3 they are just functions and so were missed). This is an undocumented function that pydoc itself does not use, but I found that numpy at least uses it in its documentation generator. Original patch by Matt Bachmann.