mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Mark stdlib modules with upper version bounds (#5394)
* Mark stdlib modules with upper version bounds * Add minus to all versions and enforce in check_consistent * Fix check_consistent and mypy_test to work with new VERSIONS format
This commit is contained in:
@@ -1,4 +1 @@
|
||||
import sys
|
||||
|
||||
if sys.version_info < (3, 10):
|
||||
def getpreferredencoding(do_setlocale: bool = ...) -> str: ...
|
||||
def getpreferredencoding(do_setlocale: bool = ...) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user