]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-115941: fixes in dictobject.c doc block(#116196)
authorHumbulani <92155443+Humbulani1234@users.noreply.github.com>
Fri, 1 Mar 2024 19:48:26 +0000 (21:48 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Mar 2024 19:48:26 +0000 (12:48 -0700)
Objects/dictobject.c

index 9b8fc4a958f7add4cd150509850951611627e519..39778df603f43f7dd1517aeec27bf80fe5e4dbf7 100644 (file)
@@ -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