Repository navigation
Commit 08784b2
The "Evaluation order" section said that expressions are always
evaluated from left to right, but a conditional expression evaluates
its condition first.
Add a sentence and an example showing that chained conditional
expressions group from right to left.
Co-authored-by: Sam Joshva <samjoshva@gmail.com>
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
1 parent 62b809d commit 08784b2
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2426 | 2426 | | |
2427 | 2427 | | |
2428 | 2428 | | |
| 2429 | + | |
| 2430 | + | |
| 2431 | + | |
| 2432 | + | |
| 2433 | + | |
| 2434 | + | |
| 2435 | + | |
| 2436 | + | |
| 2437 | + | |
2429 | 2438 | | |
2430 | 2439 | | |
2431 | 2440 | | |
| |||
0 commit comments