]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-29418: Add inspect.ismethodwrapper to whatsnew (GH-31377)
authorHakan Çelik <hakancelik96@outlook.com>
Thu, 17 Feb 2022 19:45:55 +0000 (22:45 +0300)
committerGitHub <noreply@github.com>
Thu, 17 Feb 2022 19:45:55 +0000 (22:45 +0300)
Doc/whatsnew/3.11.rst

index 510ef86d42cc7878ed75f4d63f699a816650db09..4dd778951f4c6cda50d4d73b0824b556c48dea26 100644 (file)
@@ -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
 ----