summaryrefslogtreecommitdiffstats
path: root/Include/cpython
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 /Include/cpython
parent6927632492cbad86a250aa006c1847e03b03e70b (diff)
downloadcpython-2d8b764210c8de10893665aaeec8277b687975cd.zip
cpython-2d8b764210c8de10893665aaeec8277b687975cd.tar.gz
cpython-2d8b764210c8de10893665aaeec8277b687975cd.tar.bz2
bpo-46864: Deprecate PyBytesObject.ob_shash. (GH-31598)
Diffstat (limited to 'Include/cpython')
-rw-r--r--Include/cpython/bytesobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/bytesobject.h b/Include/cpython/bytesobject.h
index 6b3f552..2c6d631 100644
--- a/Include/cpython/bytesobject.h
+++ b/Include/cpython/bytesobject.h
@@ -4,7 +4,7 @@
typedef struct {
PyObject_VAR_HEAD
- Py_hash_t ob_shash;
+ Py_DEPRECATED(3.11) Py_hash_t ob_shash;
char ob_sval[1];
/* Invariants: