@@ -775,22 +775,33 @@ IDLE and idlelib
775
775
* Include prompts when saving Shell with inputs and outputs.
776
776
(Contributed by Terry Jan Reedy in :gh: `95191 `.)
777
777
778
+
779
+ .. _whatsnew311-inspect :
780
+
778
781
inspect
779
782
-------
780
- * Add :func: `inspect.getmembers_static `: return all members without
783
+
784
+ * Add :func: `~inspect.getmembers_static ` to return all members without
781
785
triggering dynamic lookup via the descriptor protocol. (Contributed by
782
786
Weipeng Hong in :issue: `30533 `.)
783
787
784
- * Add :func: `inspect.ismethodwrapper ` for checking if the type of an object is a
785
- :class: `~types.MethodWrapperType `. (Contributed by Hakan Çelik in :issue: `29418 `.)
788
+ * Add :func: `~inspect.ismethodwrapper `
789
+ for checking if the type of an object is a :class: `~types.MethodWrapperType `.
790
+ (Contributed by Hakan Çelik in :issue: `29418 `.)
786
791
787
- * Change the frame-related functions in the :mod: `inspect ` module to return a
788
- regular object (that is backwards compatible with the old tuple-like
789
- interface) that include the extended :pep: `657 ` position information (end
792
+ * Change the frame-related functions in the :mod: `inspect ` module to return new
793
+ :class: `~inspect.FrameInfo ` and :class: `~inspect.Traceback ` class instances
794
+ (backwards compatible with the previous :term: `named tuple `-like interfaces)
795
+ that includes the extended :pep: `657 ` position information (end
790
796
line number, column and end column). The affected functions are:
791
- :func: `inspect.getframeinfo `, :func: `inspect.getouterframes `, :func: `inspect.getinnerframes `,
792
- :func: `inspect.stack ` and :func: `inspect.trace `. (Contributed by Pablo Galindo in
793
- :gh: `88116 `.)
797
+
798
+ * :func: `inspect.getframeinfo `
799
+ * :func: `inspect.getouterframes `
800
+ * :func: `inspect.getinnerframes `,
801
+ * :func: `inspect.stack `
802
+ * :func: `inspect.trace `
803
+
804
+ (Contributed by Pablo Galindo in :gh: `88116 `.)
794
805
795
806
locale
796
807
------
0 commit comments