]> granicus.if.org Git - python/commit
Merge: #17476: make allmethods actually return all methods.
authorR David Murray <rdmurray@bitdance.com>
Tue, 19 Mar 2013 06:47:44 +0000 (02:47 -0400)
committerR David Murray <rdmurray@bitdance.com>
Tue, 19 Mar 2013 06:47:44 +0000 (02:47 -0400)
commitac0cea5fab2350aa5f7001a8c524f93c540f0b44
treeb5a2c921c5c1a7a7c507a15c4834f05d690c1187
parent3a61943b7bd9031293aa03b6505cb29d5630abfa
Merge: #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.
Lib/pydoc.py
Lib/test/test_pydoc.py
Misc/NEWS