diff options
| author | 2021-02-06 10:35:27 -0500 | |
|---|---|---|
| committer | 2021-02-06 10:35:27 -0500 | |
| commit | d333a777aff579ac9d4f38467345fb946dd46bc3 (patch) | |
| tree | 756872b318485400182d2e41d4650b4079f2af34 /tests | |
| parent | More robust example with no reference to Python versions or `str.format`. (diff) | |
New example to emphasize the mapping functionality rather than filtering.
Previously, the example only conveyed how the `if` statement of list comps could be used to filter a list, whereas the mapping functionality is what people primarily use list comps for.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions