bpo-30533: Add docs for inspect.getmembers_static (#29874)

* Add docs for `inspect.getmembers_static`

* update
This commit is contained in:
Weipeng Hong 2021-12-02 03:23:46 +08:00 committed by GitHub
parent ee94aa0850
commit c2bb29ce9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View file

@ -207,6 +207,13 @@ fractions
(Contributed by Mark Dickinson in :issue:`44547`.)
inspect
-------
* Add :func:`inspect.getmembers_static`: return all members without
triggering dynamic lookup via the descriptor protocol. (Contributed by
Weipeng Hong in :issue:`30533`.)
math
----
* Add :func:`math.exp2`: return 2 raised to the power of x.