Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
Bug report
For example, for thecurses module, pydoc shows only three functions (all implemented in Python) in 3.13, but shows dozens functions in 3.12.
This regression was introduced in#113942.
If the Python module does not have__all__ and is a wrapper around a C module, the imported builtin function can have different__module__ (unless the C module do not specify__module__ or lies about it). We should ignore__module__ for builtin function. Maybe for builtin classes too?