diff options
author | ram vikram singh <ramvikrams243@gmail.com> | 2023-01-24 09:29:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-24 09:29:22 (GMT) |
commit | 7f95ec3e7405ea5f44adc3584e297a3191118f32 (patch) | |
tree | ae210c0f81259d13593badc52ee9d09d8c06f178 /Include/cpython | |
parent | e244401ce508ad391295beb636e499fcc6797a2a (diff) | |
download | cpython-7f95ec3e7405ea5f44adc3584e297a3191118f32.zip cpython-7f95ec3e7405ea5f44adc3584e297a3191118f32.tar.gz cpython-7f95ec3e7405ea5f44adc3584e297a3191118f32.tar.bz2 |
gh-101152: Implement PEP 699 (GH-101193)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Ken Jin <kenjin@python.org>
Diffstat (limited to 'Include/cpython')
-rw-r--r-- | Include/cpython/dictobject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/cpython/dictobject.h b/Include/cpython/dictobject.h index 2dff59e..5001f35 100644 --- a/Include/cpython/dictobject.h +++ b/Include/cpython/dictobject.h @@ -16,7 +16,11 @@ typedef struct { /* Dictionary version: globally unique, value change each time the dictionary is modified */ +#ifdef Py_BUILD_CORE uint64_t ma_version_tag; +#else + Py_DEPRECATED(3.12) uint64_t ma_version_tag; +#endif PyDictKeysObject *ma_keys; |