|
|
|
|
|
by kansface
4603 days ago
|
|
my_dict is a dictionary while items() and friends return an iterable. Your proposed change would lead to ambiguity and confusion- what determines how we should iterate (what does it return, when is it done)? How would we define custom iterables? |
|