You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/birkenfeld'closed_at=<Date2008-12-14.15:09:58.044>created_at=<Date2008-12-14.04:06:19.853>labels= ['docs']
title='Python 3 tutorial has old information about dicts'updated_at=<Date2008-12-14.15:09:57.970>user='https://bugs.python.org/mdcowles'
The keys() method of a dictionary object returns a list of all the keys
used in the dictionary, in arbitrary order if you want it sorted, just
apply the sort() method to the list of keys
dict methods dict.keys(), dict.items() and dict.values() return “views”
instead of lists. For example, this no longer works: k = d.keys();
k.sort(). Use k = sorted(d) instead
I expect that it's just a matter of updating the tutorial.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: