aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py
diff options
context:
space:
mode:
authorGravatar swfarnsworth <[email protected]>2021-02-06 10:35:27 -0500
committerGravatar swfarnsworth <[email protected]>2021-02-06 10:35:27 -0500
commitd333a777aff579ac9d4f38467345fb946dd46bc3 (patch)
tree756872b318485400182d2e41d4650b4079f2af34 /tests/base.py
parentMore 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/base.py')
0 files changed, 0 insertions, 0 deletions