mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-115941: fixes in dictobject.c doc block(#116196)
This commit is contained in:
parent
ff96b81d78
commit
5e0c7bc1d3
1 changed files with 2 additions and 1 deletions
|
|
@ -21,6 +21,7 @@ As of Python 3.6, this is compact and ordered. Basic idea is described here:
|
|||
| 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue