mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
committed by
Guido van Rossum
parent
07374a8251
commit
fa74160e1f
@@ -14,7 +14,7 @@ For information on how to use `typeshed`, read below. Information for
|
||||
contributors can be found in [CONTRIBUTING.md](CONTRIBUTING.md). **Please read
|
||||
it before submitting pull requests.**
|
||||
|
||||
Typeshed supports Python versions 2.7 and 3.3 and up.
|
||||
Typeshed supports Python versions 2.7 and 3.4 and up.
|
||||
|
||||
## Using
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ def main():
|
||||
print("Cannot import mypy. Did you install it?")
|
||||
sys.exit(1)
|
||||
|
||||
versions = [(3, 7), (3, 6), (3, 5), (3, 4), (3, 3), (2, 7)]
|
||||
versions = [(3, 7), (3, 6), (3, 5), (3, 4), (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)]
|
||||
|
||||
Reference in New Issue
Block a user