mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-25 01:17:30 +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 | ||