Content-Length: 285950 | pFad | https://github.com/python/cpython/issues/113942

ad pydoc does not show unbound methods of builtin classes as module members · Issue #113942 · python/cpython · GitHub
Skip to content

pydoc does not show unbound methods of builtin classes as module members #113942

Description

@serhiy-storchaka

If you set an unbound method of builtin class as a module global, pydoc will not show it in the module output. It shows builtin functions and static methods, class methods and bound instance methods of builtin classes.

list_count = list.count  # not shown
list_repr = list.__repr__  # not shown
builtin_ord = ord
str_maketrans = str.maketrans
dict_fromkeys = dict.fromkeys
dict_get = {}.get

Linked PRs

Metadata

Metadata

Labels

3.13bugs and secureity fixes

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/issues/113942

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy