summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.9.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-11-16 16:55:29 (GMT)
committerGitHub <noreply@github.com>2019-11-16 16:55:29 (GMT)
commitbd44a7ead9f7336d7bb45f186b2b6ca0300154f7 (patch)
treef53b1af72f9a828420c251c5ecc27e20d66eaffe /Doc/whatsnew/3.9.rst
parent5fd5cb8d85fab3393dd76c7f3de1cdeb8ecf7203 (diff)
downloadcpython-bd44a7ead9f7336d7bb45f186b2b6ca0300154f7.zip
cpython-bd44a7ead9f7336d7bb45f186b2b6ca0300154f7.tar.gz
cpython-bd44a7ead9f7336d7bb45f186b2b6ca0300154f7.tar.bz2
bpo-38650: Constify PyStructSequence_UnnamedField. (GH-17005)
Make it a constant and referring to a constant string.
Diffstat (limited to 'Doc/whatsnew/3.9.rst')
-rw-r--r--Doc/whatsnew/3.9.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index b1beb0b..6e9ddc5 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -215,6 +215,9 @@ Build and C API Changes
way to call a callable Python object without any argument.
(Contributed by Victor Stinner in :issue:`37194`.)
+* The global variable :c:data:`PyStructSequence_UnnamedField` is now a constant
+ and refers to a constant string.
+ (Contributed by Serhiy Storchaka in :issue:`38650`.)
Deprecated