[Python-checkins] bpo-29418: Add inspect.ismethodwrapper to whatsnew (GH-31377)

isidentical webhook-mailer at python.org
Thu Feb 17 14:46:15 EST 2022


https://github.com/python/cpython/commit/02815d939362d4093a95da650e7fbddabf147eb0
commit: 02815d939362d4093a95da650e7fbddabf147eb0
branch: main
author: Hakan Çelik <hakancelik96 at outlook.com>
committer: isidentical <isidentical at gmail.com>
date: 2022-02-17T22:45:55+03:00
summary:

bpo-29418: Add inspect.ismethodwrapper to whatsnew (GH-31377)

files:
M Doc/whatsnew/3.11.rst

diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 510ef86d42cc7..4dd778951f4c6 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -240,6 +240,8 @@ inspect
   triggering dynamic lookup via the descriptor protocol. (Contributed by
   Weipeng Hong in :issue:`30533`.)
 
+* Add :func:`inspect.ismethodwrapper` for checking if the type of an object is a
+  :class:`~types.MethodWrapperType`. (Contributed by Hakan Çelik in :issue:`29418`.)
 
 math
 ----



More information about the Python-checkins mailing list