diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-04 23:15:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 23:15:39 (GMT) |
commit | a653562072eefed46dec41e831b02f5ec0084a38 (patch) | |
tree | 92be38eafdac76cd803b94fb04daf08e05ae964e /Doc/whatsnew | |
parent | 4ac0ccf9d33349eb4024c4b1f4661ca4b7fd372c (diff) | |
download | cpython-a653562072eefed46dec41e831b02f5ec0084a38.zip cpython-a653562072eefed46dec41e831b02f5ec0084a38.tar.gz cpython-a653562072eefed46dec41e831b02f5ec0084a38.tar.bz2 |
[3.13] gh-114616: Improve docs regarding changes to caches representation in dis (GH-120033) (#120079)
gh-114616: Improve docs regarding changes to caches representation in dis (GH-120033)
(cherry picked from commit 770f3c1eadd3392c72fd55be47770234dd143a14)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.13.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index e655710..b4b7cb9 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -694,6 +694,13 @@ dis the ``show_offsets`` parameter. (Contributed by Irit Katriel in :gh:`112137`.) +* :meth:`~dis.get_instructions` no longer represents cache entries as + separate instructions. Instead, it returns them as part of the + :class:`~dis.Instruction`, in the new *cache_info* field. The + *show_caches* argument to :meth:`~dis.get_instructions` is + deprecated and no longer has any effect. + (Contributed by Irit Katriel in :gh:`112962`.) + .. _whatsnew313-doctest: doctest |