@@ -746,22 +746,33 @@ IDLE and idlelib
746
746
* Include prompts when saving Shell with inputs and outputs.
747
747
(Contributed by Terry Jan Reedy in :gh: `95191 `.)
748
748
749
+
750
+ .. _whatsnew311-inspect :
751
+
749
752
inspect
750
753
-------
751
- * Add :func: `inspect.getmembers_static `: return all members without
754
+
755
+ * Add :func: `~inspect.getmembers_static ` to return all members without
752
756
triggering dynamic lookup via the descriptor protocol. (Contributed by
753
757
Weipeng Hong in :issue: `30533 `.)
754
758
755
- * Add :func: `inspect.ismethodwrapper ` for checking if the type of an object is a
756
- :class: `~types.MethodWrapperType `. (Contributed by Hakan Çelik in :issue: `29418 `.)
759
+ * Add :func: `~inspect.ismethodwrapper `
760
+ for checking if the type of an object is a :class: `~types.MethodWrapperType `.
761
+ (Contributed by Hakan Çelik in :issue: `29418 `.)
757
762
758
- * Change the frame-related functions in the :mod: `inspect ` module to return a
759
- regular object (that is backwards compatible with the old tuple-like
760
- interface) that include the extended :pep: `657 ` position information (end
763
+ * Change the frame-related functions in the :mod: `inspect ` module to return new
764
+ :class: `~inspect.FrameInfo ` and :class: `~inspect.Traceback ` class instances
765
+ (backwards compatible with the previous :term: `named tuple `-like interfaces)
766
+ that includes the extended :pep: `657 ` position information (end
761
767
line number, column and end column). The affected functions are:
762
- :func: `inspect.getframeinfo `, :func: `inspect.getouterframes `, :func: `inspect.getinnerframes `,
763
- :func: `inspect.stack ` and :func: `inspect.trace `. (Contributed by Pablo Galindo in
764
- :gh: `88116 `.)
768
+
769
+ * :func: `inspect.getframeinfo `
770
+ * :func: `inspect.getouterframes `
771
+ * :func: `inspect.getinnerframes `,
772
+ * :func: `inspect.stack `
773
+ * :func: `inspect.trace `
774
+
775
+ (Contributed by Pablo Galindo in :gh: `88116 `.)
765
776
766
777
locale
767
778
------
0 commit comments