Skip to content

Commit

Permalink
Fix typechecking under mypy 0.730 (psf#1039)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
msullivan authored and JelleZijlstra committed Oct 1, 2019
1 parent 0acad54 commit c5637a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blib2to3/pgen2/token.pyi
Expand Up @@ -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]
Expand Down

0 comments on commit c5637a7

Please sign in to comment.