mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +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,7 +1,5 @@
|
||||
import sys
|
||||
from typing import Union
|
||||
|
||||
if sys.version_info < (3, 7):
|
||||
def url2pathname(pathname: str) -> str: ...
|
||||
def pathname2url(pathname: str) -> str: ...
|
||||
def _pncomp2url(component: Union[str, bytes]) -> str: ...
|
||||
def url2pathname(pathname: str) -> str: ...
|
||||
def pathname2url(pathname: str) -> str: ...
|
||||
def _pncomp2url(component: Union[str, bytes]) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user