Commit c5637a70 authored by Michael J. Sullivan's avatar Michael J. Sullivan Committed by Jelle Zijlstra
Browse files

Fix typechecking under mypy 0.730 (#1039)

mypy 0.730 fixed a bug involving nonexistent attributes accessed on
modules, which caused an error since COLONEQUAL never got added to
token.pyi. Add it.
parent 0acad54c
Loading
Loading
Loading
Loading
+1 −0
Changes for blib2to3/pgen2/token.pyi: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ if sys.version_info >= (3, 5):
    AWAIT: int
    ASYNC: int
ERRORTOKEN: int
COLONEQUAL: int
N_TOKENS: int
NT_OFFSET: int
tok_name: Dict[int, Text]