mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-28 23:43:53 +00:00
![]() ## Summary Resolves https://github.com/astral-sh/ruff/issues/7618. The list of builtin iterator is not exhaustive. ## Test Plan `cargo test` ``` python a = [1, 2] examples = [ enumerate(a), filter(lambda x: x, a), map(int, a), reversed(a), zip(a), iter(a), ] for example in examples: print(next(example)) ``` |
||
---|---|---|
.. | ||
builtins.rs | ||
future.rs | ||
identifiers.rs | ||
keyword.rs | ||
lib.rs | ||
logging.rs | ||
path.rs | ||
str.rs | ||
sys.rs | ||
typing.rs |