()
| 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 { |