summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2024-06-04 23:00:02 (GMT)
committerGitHub <noreply@github.com>2024-06-04 23:00:02 (GMT)
commit770f3c1eadd3392c72fd55be47770234dd143a14 (patch)
tree3525735ce7b8c7e828c73a42b89c9eb2676566ba /Doc/library
parent69b3e8ea569faabccd74036e3d0e5ec7c0c62a20 (diff)
downloadcpython-770f3c1eadd3392c72fd55be47770234dd143a14.zip
cpython-770f3c1eadd3392c72fd55be47770234dd143a14.tar.gz
cpython-770f3c1eadd3392c72fd55be47770234dd143a14.tar.bz2
gh-114616: Improve docs regarding changes to caches representation in dis (#120033)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/dis.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index fda46d2..87d1bcd 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -336,9 +336,10 @@ operation is being performed, so the intermediate analysis object isn't useful:
Added the *show_caches* and *adaptive* parameters.
.. versionchanged:: 3.13
- The *show_caches* parameter is deprecated and has no effect. The *cache_info*
- field of each instruction is populated regardless of its value.
-
+ The *show_caches* parameter is deprecated and has no effect. The iterator
+ generates the :class:`Instruction` instances with the *cache_info*
+ field populated (regardless of the value of *show_caches*) and it no longer
+ generates separate items for the cache entries.
.. function:: findlinestarts(code)