Browse Source

Inline

pull/3/head
Jure Šorn 6 years ago
parent
commit
fec8d79dfa
1 changed files with 5 additions and 0 deletions
  1. 5
      README.md

5
README.md

@ -324,6 +324,11 @@ any(el[1] for el in <collection>)
<expression_if_true> if <condition> else <expression_if_false>
```
```python
>>> [a if a else 2 for a in [0,1,0,3]]
[2, 1, 2, 3]
```
Closure
-------
```python

Loading…
Cancel
Save