upgrade rustpython to remove tuple-constants (#5840)

c.f. https://github.com/astral-sh/RustPython-Parser/pull/28

Tests: No snapshots changed

---------

Co-authored-by: Zanie <contact@zanie.dev>
This commit is contained in:
David Szotten 2023-07-17 23:50:31 +01:00 committed by GitHub
parent e574a6a769
commit 52aa2fc875
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 131 additions and 206 deletions

View file

@ -88,7 +88,6 @@ impl From<&Expr> for PythonType {
Constant::None => PythonType::None,
Constant::Ellipsis => PythonType::Ellipsis,
Constant::Bytes(_) => PythonType::Bytes,
Constant::Tuple(_) => PythonType::Tuple,
},
_ => PythonType::Unknown,
}