diff --git a/stdlib/3/os/__init__.pyi b/stdlib/3/os/__init__.pyi index 612ce7c4a..de5a34a63 100644 --- a/stdlib/3/os/__init__.pyi +++ b/stdlib/3/os/__init__.pyi @@ -210,10 +210,10 @@ if sys.version_info >= (3, 6): name: AnyStr path: AnyStr def inode(self) -> int: ... - def is_dir(self, follow_symlinks: bool = ...) -> bool: ... - def is_file(self, follow_symlinks: bool = ...) -> bool: ... + def is_dir(self, *, follow_symlinks: bool = ...) -> bool: ... + def is_file(self, *, follow_symlinks: bool = ...) -> bool: ... def is_symlink(self) -> bool: ... - def stat(self) -> stat_result: ... + def stat(self, *, follow_symlinks: bool = ...) -> stat_result: ... def __fspath__(self) -> AnyStr: ... elif sys.version_info >= (3, 5): @@ -224,10 +224,10 @@ elif sys.version_info >= (3, 5): name: AnyStr path: AnyStr def inode(self) -> int: ... - def is_dir(self, follow_symlinks: bool = ...) -> bool: ... - def is_file(self, follow_symlinks: bool = ...) -> bool: ... + def is_dir(self, *, follow_symlinks: bool = ...) -> bool: ... + def is_file(self, *, follow_symlinks: bool = ...) -> bool: ... def is_symlink(self) -> bool: ... - def stat(self) -> stat_result: ... + def stat(self, *, follow_symlinks: bool = ...) -> stat_result: ... if sys.platform != 'win32':