summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/2.7.rst
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2023-12-06 22:11:53 (GMT)
committerGitHub <noreply@github.com>2023-12-06 22:11:53 (GMT)
commitca11aec98c39a08da858a1270b13b7e3ae6aa53b (patch)
tree7cc5299f8a01e2ab3d3c5876dcaab2dba857ca34 /Doc/whatsnew/2.7.rst
parentaf7cf385a2394895d93a11b02934c529eafce83c (diff)
downloadcpython-ca11aec98c39a08da858a1270b13b7e3ae6aa53b.zip
cpython-ca11aec98c39a08da858a1270b13b7e3ae6aa53b.tar.gz
cpython-ca11aec98c39a08da858a1270b13b7e3ae6aa53b.tar.bz2
[3.12] gh-101100: Improve documentation of code object attributes (#112781) (#112816)
(cherry-picked from commit e9707d3c3d)
Diffstat (limited to 'Doc/whatsnew/2.7.rst')
-rw-r--r--Doc/whatsnew/2.7.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst
index 92de3e4..9207051 100644
--- a/Doc/whatsnew/2.7.rst
+++ b/Doc/whatsnew/2.7.rst
@@ -2405,7 +2405,7 @@ Other Changes and Fixes
:issue:`5464`.)
* When importing a module from a :file:`.pyc` or :file:`.pyo` file
- with an existing :file:`.py` counterpart, the :attr:`co_filename`
+ with an existing :file:`.py` counterpart, the :attr:`~codeobject.co_filename`
attributes of the resulting code objects are overwritten when the
original filename is obsolete. This can happen if the file has been
renamed, moved, or is accessed through different paths. (Patch by