]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Fix typechecking under mypy 0.730 (#1039)
authorMichael J. Sullivan <sully@msully.net>
Tue, 1 Oct 2019 22:30:51 +0000 (15:30 -0700)
committerJelle Zijlstra <jelle.zijlstra@gmail.com>
Tue, 1 Oct 2019 22:30:51 +0000 (15:30 -0700)
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.

blib2to3/pgen2/token.pyi

index c256af8f27fe9d4c0281393e6c7393a5f93239a1..b51bbcfeff943d86e3ed4f10fab7095c63cd28d5 100644 (file)
@@ -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]