Skip to content

Commit ddb36a1

Browse files
committed
De-reference __cached__ in old What's New entries
1 parent 14451f7 commit ddb36a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ Deprecated
13371337
it was :exc:`ImportWarning`).
13381338
(Contributed by Brett Cannon in :gh:`65961`.)
13391339

1340-
* Setting :attr:`~module.__package__` or :attr:`~module.__cached__` on a
1340+
* Setting :attr:`~module.__package__` or ``__cached__`` on a
13411341
module is deprecated, and will cease to be set or taken into consideration by
13421342
the import system in Python 3.14. (Contributed by Brett Cannon in :gh:`65961`.)
13431343

Doc/whatsnew/3.2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ cluttering source directories, the *pyc* files are now collected in a
312312
Aside from the filenames and target directories, the new scheme has a few
313313
aspects that are visible to the programmer:
314314

315-
* Imported modules now have a :attr:`~module.__cached__` attribute which stores
315+
* Imported modules now have a ``__cached__`` attribute which stores
316316
the name of the actual file that was imported:
317317

318318
>>> import collections

0 commit comments

Comments
 (0)