summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.2.rst
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2024-10-09 10:53:57 (GMT)
committerGitHub <noreply@github.com>2024-10-09 10:53:57 (GMT)
commit3024b16d51bb7f74177c5a5038cc9a56fd2b26bd (patch)
tree2fb75d1941753cf3375c95723b16086a3969ac23 /Doc/whatsnew/3.2.rst
parent7a303fc78a6dbd1b4c01f8a2b14ddcae29f4271b (diff)
downloadcpython-3024b16d51bb7f74177c5a5038cc9a56fd2b26bd.zip
cpython-3024b16d51bb7f74177c5a5038cc9a56fd2b26bd.tar.gz
cpython-3024b16d51bb7f74177c5a5038cc9a56fd2b26bd.tar.bz2
gh-101100: Consolidate documentation on `ModuleType` attributes (#124709)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Barry Warsaw <barry@python.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Doc/whatsnew/3.2.rst')
-rw-r--r--Doc/whatsnew/3.2.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index c09fa83..7104904 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -312,8 +312,8 @@ cluttering source directories, the *pyc* files are now collected in a
Aside from the filenames and target directories, the new scheme has a few
aspects that are visible to the programmer:
-* Imported modules now have a :attr:`__cached__` attribute which stores the name
- of the actual file that was imported:
+* Imported modules now have a :attr:`~module.__cached__` attribute which stores
+ the name of the actual file that was imported:
>>> import collections
>>> collections.__cached__ # doctest: +SKIP