Consumes an iterable without doing anything with it.
(iterable: t.Iterable[t.Any])
| 119 | |
| 120 | |
| 121 | def consume(iterable: t.Iterable[t.Any]) -> None: |
| 122 | """Consumes an iterable without doing anything with it.""" |
| 123 | for _ in iterable: |
| 124 | pass |
| 125 | |
| 126 | |
| 127 | def clear_caches() -> None: |
no outgoing calls