diff options
author | Weipeng Hong <hongweichen8888@sina.com> | 2022-01-23 17:40:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-23 17:40:38 (GMT) |
commit | 691506f4e9408a1205166f99640946ad7822e302 (patch) | |
tree | d94c7f67a708cfa41bb223a6cdc7ece845dedcf2 /Misc | |
parent | 76dc047a0e88d10aad0405228d56e94438cdd91c (diff) | |
download | cpython-691506f4e9408a1205166f99640946ad7822e302.zip cpython-691506f4e9408a1205166f99640946ad7822e302.tar.gz cpython-691506f4e9408a1205166f99640946ad7822e302.tar.bz2 |
bpo-46103: Fix inspect.getmembers to only get __bases__ from class (GH-30147)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-12-16-23-42-54.bpo-46103.LMnZAN.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-12-16-23-42-54.bpo-46103.LMnZAN.rst b/Misc/NEWS.d/next/Library/2021-12-16-23-42-54.bpo-46103.LMnZAN.rst new file mode 100644 index 0000000..3becbc3 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-12-16-23-42-54.bpo-46103.LMnZAN.rst @@ -0,0 +1,2 @@ +Now :func:`inspect.getmembers` only gets :attr:`__bases__` attribute from +class type. Patch by Weipeng Hong. |