19.10: Glossary
( \newcommand{\kernel}{\mathrm{null}\,}\)
- conditional expression:
- An expression that has one of two values, depending on a condition.
- list comprehension:
- An expression with a
for
loop in square brackets that yields a new list. - generator expression:
- An expression with a
for
loop in parentheses that yields a generator object. - multiset:
- A mathematical entity that represents a mapping between the elements of a set and the number of times they appear.
- factory:
- A function, usually passed as a parameter, used to create objects.