MCPcopy Create free account
hub / github.com/astral-sh/ruff / iter

Method iter

crates/ruff_python_ast/src/python_version.rs:43–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 };
42
43 pub fn iter() -> impl Iterator<Item = PythonVersion> {
44 [
45 PythonVersion::PY37,
46 PythonVersion::PY38,
47 PythonVersion::PY39,
48 PythonVersion::PY310,
49 PythonVersion::PY311,
50 PythonVersion::PY312,
51 PythonVersion::PY313,
52 PythonVersion::PY314,
53 PythonVersion::PY315,
54 ]
55 .into_iter()
56 }
57
58 /// The minimum supported Python version.
59 pub const fn lowest() -> Self {

Callers

nothing calls this directly

Calls 1

into_iterMethod · 0.45

Tested by

no test coverage detected