summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorHumbulani <92155443+Humbulani1234@users.noreply.github.com>2024-03-01 19:48:26 (GMT)
committerGitHub <noreply@github.com>2024-03-01 19:48:26 (GMT)
commit5e0c7bc1d311048e8252bae6fc91cb51c556f807 (patch)
treed48c7adf1a0a3aec4cbc5036a08aff028831e07f /Objects
parentff96b81d78c4a52fb1eb8384300af3dd0dd2db0d (diff)
downloadcpython-5e0c7bc1d311048e8252bae6fc91cb51c556f807.zip
cpython-5e0c7bc1d311048e8252bae6fc91cb51c556f807.tar.gz
cpython-5e0c7bc1d311048e8252bae6fc91cb51c556f807.tar.bz2
gh-115941: fixes in dictobject.c doc block(#116196)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/dictobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 9b8fc4a..39778df 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -21,6 +21,7 @@ layout:
| dk_log2_size |
| dk_log2_index_bytes |
| dk_kind |
+| dk_version |
| dk_usable |
| dk_nentries |
+---------------------+
@@ -55,7 +56,7 @@ The DictObject can be in one of two forms.
Either:
A combined table:
ma_values == NULL, dk_refcnt == 1.
- Values are stored in the me_value field of the PyDictKeysObject.
+ Values are stored in the me_value field of the PyDictKeyEntry.
Or:
A split table:
ma_values != NULL, dk_refcnt >= 1