summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2022-03-06 02:39:10 (GMT)
committerGitHub <noreply@github.com>2022-03-06 02:39:10 (GMT)
commit2d8b764210c8de10893665aaeec8277b687975cd (patch)
treee60e06704b97da9f7a6bc429b7c6e3f68e84ace3 /Doc
parent6927632492cbad86a250aa006c1847e03b03e70b (diff)
downloadcpython-2d8b764210c8de10893665aaeec8277b687975cd.zip
cpython-2d8b764210c8de10893665aaeec8277b687975cd.tar.gz
cpython-2d8b764210c8de10893665aaeec8277b687975cd.tar.bz2
bpo-46864: Deprecate PyBytesObject.ob_shash. (GH-31598)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.11.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 5843287..4a64e04 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -985,6 +985,9 @@ Deprecated
<init-config>` instead (:pep:`587`).
(Contributed by Victor Stinner in :issue:`44113`.)
+* Deprecate the ``ob_shash`` member of the :c:type:`PyBytesObject`. Use :c:func:`PyObject_Hash` instead.
+ (Contributed by Inada Naoki in :issue:`46864`.)
+
Removed
-------