mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 08:04:24 +08:00
Use explicit "# type: str" instead of '' shortcut.
This commit is contained in:
@@ -9,14 +9,14 @@ from typing import overload, List, Any, Tuple, BinaryIO, TextIO, TypeVar, Callab
|
||||
# ----- os.path variables -----
|
||||
supports_unicode_filenames = False
|
||||
# aliases (also in os)
|
||||
curdir = ''
|
||||
pardir = ''
|
||||
sep = ''
|
||||
altsep = ''
|
||||
extsep = ''
|
||||
pathsep = ''
|
||||
defpath = ''
|
||||
devnull = ''
|
||||
curdir = ... # type: str
|
||||
pardir = ... # type: str
|
||||
sep = ... # type: str
|
||||
altsep = ... # type: str
|
||||
extsep = ... # type: str
|
||||
pathsep = ... # type: str
|
||||
defpath = ... # type: str
|
||||
devnull = ... # type: str
|
||||
|
||||
# ----- os.path function stubs -----
|
||||
def abspath(path: AnyStr) -> AnyStr: ...
|
||||
|
||||
Reference in New Issue
Block a user