Closes #1145.
This commit is contained in:
Jelle Zijlstra authored and Guido van Rossum committed 2017-04-25 17:15:49 -07:00
1 parent 4e22318980
commit 3101768f12
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ def main():
print("Cannot import mypy. Did you install it?")
sys.exit(1)
versions = [(3, 6), (3, 5), (3, 4), (3, 3), (3, 2), (2, 7)]
versions = [(3, 6), (3, 5), (3, 4), (3, 3), (2, 7)]
if args.python_version:
versions = [v for v in versions
if any(('%d.%d' % v).startswith(av) for av in args.python_version)]