From: Hakan Çelik Date: Thu, 17 Feb 2022 19:45:55 +0000 (+0300) Subject: bpo-29418: Add inspect.ismethodwrapper to whatsnew (GH-31377) X-Git-Tag: v3.11.0a6~175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=02815d939362d4093a95da650e7fbddabf147eb0;p=thirdparty%2FPython%2Fcpython.git bpo-29418: Add inspect.ismethodwrapper to whatsnew (GH-31377) --- diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 510ef86d42cc..4dd778951f4c 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 ----