]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30533:Add function inspect.getmembers_static that does not call properties or...
authorWeipeng Hong <hongweichen8888@sina.com>
Tue, 30 Nov 2021 18:23:13 +0000 (02:23 +0800)
committerGitHub <noreply@github.com>
Tue, 30 Nov 2021 18:23:13 +0000 (10:23 -0800)
commitaf8c8caaf5e07c02202d736a31f6a2f7e27819b8
treefaffacba8a6e1fe2d1b6dffeaba18242526e2020
parent4b97d974ecca9cce532be55410fe851eb9fdcf21
bpo-30533:Add function inspect.getmembers_static that does not call properties or dynamic properties. (#20911)

* Add function inspect.getmembers_static that does not call properties or dynamic
properties.

* update _getmembers args

* Update Misc/NEWS.d/next/Library/2020-06-16-18-00-56.bpo-30533.StL57t.rst

Co-authored-by: Itamar Ostricher <itamarost@gmail.com>
* Update Lib/inspect.py

Co-authored-by: Itamar Ostricher <itamarost@gmail.com>
* Removes the copy pasted doc string

Co-authored-by: Itamar Ostricher <itamarost@gmail.com>
Co-authored-by: Dino Viehland <dinoviehland@gmail.com>
Lib/inspect.py
Lib/test/test_inspect.py
Misc/NEWS.d/next/Library/2020-06-16-18-00-56.bpo-30533.StL57t.rst [new file with mode: 0644]