From: Michael J. Sullivan Date: Tue, 1 Oct 2019 22:30:51 +0000 (-0700) Subject: Fix typechecking under mypy 0.730 (#1039) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/c5637a7085ad50ebe40cff89c0ec855666d4bebc?hp=0acad54c0243c0bb302e757b962918a73ebe79f4 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. --- diff --git a/blib2to3/pgen2/token.pyi b/blib2to3/pgen2/token.pyi index c256af8..b51bbcf 100644 --- a/blib2to3/pgen2/token.pyi +++ b/blib2to3/pgen2/token.pyi @@ -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]