- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 5.7k
 
Closed
Labels
collectionsData structures holding multiple items, e.g. setsData structures holding multiple items, e.g. setsdocsThis change adds or pertains to documentationThis change adds or pertains to documentationiterationInvolves iteration or the iteration protocolInvolves iteration or the iteration protocol
Description
If dict::Dict, are all of the following:
keys(dict)
values(dict)
pairs(dict)
[(k,v) for (k,v) in dict]guaranteed to iterate entries of dict in the same order ?
Currently the documentation states that keys(dict) and values(dict) iterate in the same order. But it is not stated whether this is the same order as that used by pairs(dict), or when looping, for (k,v) in dict.
If this is guaranteed, can it be mentioned explicitly in the documentation?
Metadata
Metadata
Assignees
Labels
collectionsData structures holding multiple items, e.g. setsData structures holding multiple items, e.g. setsdocsThis change adds or pertains to documentationThis change adds or pertains to documentationiterationInvolves iteration or the iteration protocolInvolves iteration or the iteration protocol