From 2d8b764210c8de10893665aaeec8277b687975cd Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Sun, 6 Mar 2022 11:39:10 +0900 Subject: bpo-46864: Deprecate PyBytesObject.ob_shash. (GH-31598) --- Include/cpython/bytesobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/cpython/bytesobject.h') diff --git a/Include/cpython/bytesobject.h b/Include/cpython/bytesobject.h index 6b3f55224f..2c6d631f0b 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: -- cgit v1.2.1