Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion mypy/nativeparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,9 @@ def native_parse_type_string(
If parsing fails, a RawExpressionType will be returned.
"""
ast_bytes = ast_serialize.parse_type_string(
expr_string, (line, column, end_line, end_column), cache_version=5
expr_string,
(line, column, end_line, end_column),
cache_version=AST_SERIALIZE_CACHE_VERSION,
)
state = State(options)
data = ReadBuffer(ast_bytes)
Expand Down
Loading