Commit ef3159a
committed
Episode 01: remove statement about order in Python dict
The order in Python dictionaries is a delicate issue and is too complex
to describe to a novice learner correctly. Statement that the order in
which key-value pairs are returned in a 'for' loop is not guaranteed, on
the other hand, is no longer correct. We could say
that some "order-dependent" functions do not apply to the
classical Python dictionaries (e.g., reversed, move_to_end), but that
would be an overkill. I think that deleting this statement might
be the best course of action at this moment.1 parent dbfad33 commit ef3159a
1 file changed
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | 462 | | |
470 | 463 | | |
471 | 464 | | |
| |||
0 commit comments