Skip to content

Commit de2c294

Browse files
authored
windows: fix splitunc param name (#4143)
Co-authored-by: hauntsaninja <>
1 parent 6590a36 commit de2c294

File tree

7 files changed

+7
-13
lines changed

7 files changed

+7
-13
lines changed

stdlib/2/os/path.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ else:
168168
def splitext(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ...
169169

170170
if sys.version_info < (3, 7) and sys.platform == 'win32':
171-
def splitunc(path: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
171+
def splitunc(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
172172

173173
if sys.version_info < (3,):
174174
def walk(path: AnyStr, visit: Callable[[_T, AnyStr, List[AnyStr]], Any], arg: _T) -> None: ...

stdlib/2/os2emxpath.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ else:
168168
def splitext(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ...
169169

170170
if sys.version_info < (3, 7) and sys.platform == 'win32':
171-
def splitunc(path: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
171+
def splitunc(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
172172

173173
if sys.version_info < (3,):
174174
def walk(path: AnyStr, visit: Callable[[_T, AnyStr, List[AnyStr]], Any], arg: _T) -> None: ...

stdlib/2and3/ntpath.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ else:
168168
def splitext(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ...
169169

170170
if sys.version_info < (3, 7) and sys.platform == 'win32':
171-
def splitunc(path: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
171+
def splitunc(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
172172

173173
if sys.version_info < (3,):
174174
def walk(path: AnyStr, visit: Callable[[_T, AnyStr, List[AnyStr]], Any], arg: _T) -> None: ...

stdlib/2and3/posixpath.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ else:
168168
def splitext(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ...
169169

170170
if sys.version_info < (3, 7) and sys.platform == 'win32':
171-
def splitunc(path: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
171+
def splitunc(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
172172

173173
if sys.version_info < (3,):
174174
def walk(path: AnyStr, visit: Callable[[_T, AnyStr, List[AnyStr]], Any], arg: _T) -> None: ...

stdlib/3/os/path.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ else:
168168
def splitext(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ...
169169

170170
if sys.version_info < (3, 7) and sys.platform == 'win32':
171-
def splitunc(path: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
171+
def splitunc(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated
172172

173173
if sys.version_info < (3,):
174174
def walk(path: AnyStr, visit: Callable[[_T, AnyStr, List[AnyStr]], Any], arg: _T) -> None: ...
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
ntpath.splitunc
2-
os.path.splitunc
3-
os.path.splitunc
4-
posixpath.splitunc
1+
posixpath.splitunc # This doesn't exist, but our hands are tied by check_consistent
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
hashlib.scrypt
2-
ntpath.splitunc
3-
os.path.splitunc
42
os.startfile
5-
os.path.splitunc
6-
posixpath.splitunc
3+
posixpath.splitunc # This doesn't exist, but our hands are tied by check_consistent

0 commit comments

Comments
 (0)