diff options
| author | Nick Pope <nick@nickpope.me.uk> | 2023-10-16 19:25:17 +0100 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2023-10-23 13:44:16 -0300 |
| commit | 07fa79ef2bb3e8cace7bd87b292c6c85230eed05 (patch) | |
| tree | e4089c1540a0596759910f67e35d4704c91a4f46 /docs | |
| parent | e2922b0d5f18169d1d0115a6db5d2ed8c42d0692 (diff) | |
Refs #31262 -- Added __eq__() and __getitem__() to BaseChoiceIterator.
This makes it easier to work with lazy iterators used for callables,
etc. when extracting items or comparing to lists, e.g. during testing.
Also added `BaseChoiceIterator.__iter__()` to make it clear that
subclasses must implement this and added `__all__` to the module.
Co-authored-by: Adam Johnson <me@adamj.eu>
Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
