From eb5d8c9cf2074fb0bfa54c0e4217b3e64629ef1c Mon Sep 17 00:00:00 2001 From: David Euresti Date: Mon, 20 Mar 2017 22:12:58 -0700 Subject: [PATCH] Missed some that were marked as str --- stdlib/3/os/__init__.pyi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/stdlib/3/os/__init__.pyi b/stdlib/3/os/__init__.pyi index b52ec3d98..8e942a364 100644 --- a/stdlib/3/os/__init__.pyi +++ b/stdlib/3/os/__init__.pyi @@ -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