From e7430508b08bf68b6203ce9b29dc7c37bad4aa56 Mon Sep 17 00:00:00 2001 From: Vury Leo Date: Wed, 8 Jan 2020 20:16:02 +0800 Subject: [PATCH] Fix argument name of os.link/symlink (#3590) --- stdlib/3/os/__init__.pyi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stdlib/3/os/__init__.pyi b/stdlib/3/os/__init__.pyi index 1b4b3c7b0..777cefc33 100644 --- a/stdlib/3/os/__init__.pyi +++ b/stdlib/3/os/__init__.pyi @@ -431,7 +431,7 @@ if sys.platform != 'win32': def lchown(path: _PathType, uid: int, gid: int) -> None: ... def link( src: _PathType, - link_name: _PathType, + dst: _PathType, *, src_dir_fd: Optional[int] = ..., dst_dir_fd: Optional[int] = ..., @@ -491,8 +491,8 @@ if sys.version_info < (3, 7): if sys.platform != 'win32': def statvfs(path: _FdOrPathType) -> statvfs_result: ... # Unix only def symlink( - source: _PathType, - link_name: _PathType, + src: _PathType, + dst: _PathType, target_is_directory: bool = ..., *, dir_fd: Optional[int] = ...,