mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Missed some that were marked as str
This commit is contained in:
@@ -259,13 +259,13 @@ def chdir(path: _PathType) -> None: ...
|
||||
def fchdir(fd: int) -> None: ...
|
||||
def getcwd() -> str: ...
|
||||
def getcwdb() -> bytes: ...
|
||||
def chflags(path: str, flags: int) -> None: ... # Unix only
|
||||
def chroot(path: str) -> None: ... # Unix only
|
||||
def chflags(path: _PathType, flags: int) -> None: ... # Unix only
|
||||
def chroot(path: _PathType) -> None: ... # Unix only
|
||||
def chmod(path: _PathType, mode: int) -> None: ...
|
||||
def chown(path: _PathType, uid: int, gid: int) -> None: ... # Unix only
|
||||
def lchflags(path: str, flags: int) -> None: ... # Unix only
|
||||
def lchmod(path: str, mode: int) -> None: ... # Unix only
|
||||
def lchown(path: str, uid: int, gid: int) -> None: ... # Unix only
|
||||
def lchflags(path: _PathType, flags: int) -> None: ... # Unix only
|
||||
def lchmod(path: _PathType, mode: int) -> None: ... # Unix only
|
||||
def lchown(path: _PathType, uid: int, gid: int) -> None: ... # Unix only
|
||||
def link(src: _PathType, link_name: _PathType) -> None: ...
|
||||
|
||||
@overload
|
||||
@@ -274,7 +274,7 @@ def listdir(path: str = ...) -> List[str]: ...
|
||||
def listdir(path: bytes) -> List[bytes]: ...
|
||||
|
||||
def lstat(path: _PathType) -> stat_result: ...
|
||||
def mkfifo(path: str, mode: int = ...) -> None: ... # Unix only
|
||||
def mkfifo(path: _PathType, mode: int = ...) -> None: ... # Unix only
|
||||
def mknod(filename: _PathType, mode: int = ..., device: int = ...) -> None: ...
|
||||
def major(device: int) -> int: ...
|
||||
def minor(device: int) -> int: ...
|
||||
@@ -298,7 +298,7 @@ if sys.version_info >= (3, 5):
|
||||
def scandir(path: bytes) -> Iterator[DirEntry]: ...
|
||||
def stat(path: _PathType) -> stat_result: ...
|
||||
def stat_float_times(newvalue: Union[bool, None] = ...) -> bool: ...
|
||||
def statvfs(path: str) -> statvfs_result: ... # Unix only
|
||||
def statvfs(path: _PathType) -> statvfs_result: ... # Unix only
|
||||
def symlink(source: _PathType, link_name: _PathType,
|
||||
target_is_directory: bool = ...) -> None:
|
||||
... # final argument in Windows only
|
||||
|
||||
Reference in New Issue
Block a user