diff options
| author | Sebastian Rittau <srittau@rittau.biz> | 2021-07-06 17:01:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-06 08:01:15 -0700 |
| commit | 8b849ea0f3482ad834e7989ff474dd5db2f295c8 (patch) | |
| tree | f850475382463652ef3f47974346b61738ee138f /Objects/codeobject.c | |
| parent | f64de53ff01e734d48d1d42195443d7d1646f220 (diff) | |
| download | cpython-git-8b849ea0f3482ad834e7989ff474dd5db2f295c8.tar.gz | |
bpo-38291: Fix a spurious warning when using help(object) (#27039)
help(object) via pydoc.TextDoc.docclass(object) iterates over the
subclasses of object, which includes typing.io and typing.re if typing
is imported. It tries to access cls.__module__ for each of those
sub-classes. This change suppresses warnings when accessing
cls.__module__.
Diffstat (limited to 'Objects/codeobject.c')
0 files changed, 0 insertions, 0 deletions
