diff --git a/stdlib/@tests/stubtest_allowlists/darwin-py313.txt b/stdlib/@tests/stubtest_allowlists/darwin-py313.txt index c9bfa2d8d594..a1460e59119c 100644 --- a/stdlib/@tests/stubtest_allowlists/darwin-py313.txt +++ b/stdlib/@tests/stubtest_allowlists/darwin-py313.txt @@ -26,7 +26,6 @@ os.waitid_result posix.grantpt posix.posix_openpt posix.ptsname -posixpath.splitroot posix.unlockpt posix.waitid posix.waitid_result diff --git a/stdlib/@tests/stubtest_allowlists/linux-py313.txt b/stdlib/@tests/stubtest_allowlists/linux-py313.txt index 8101077386cd..16e73b6a3b03 100644 --- a/stdlib/@tests/stubtest_allowlists/linux-py313.txt +++ b/stdlib/@tests/stubtest_allowlists/linux-py313.txt @@ -44,7 +44,6 @@ posix.TFD_TIMER_CANCEL_ON_SET posix.grantpt posix.posix_openpt posix.ptsname -posixpath.splitroot posix.timerfd_create posix.timerfd_gettime posix.timerfd_gettime_ns diff --git a/stdlib/@tests/stubtest_allowlists/py313.txt b/stdlib/@tests/stubtest_allowlists/py313.txt index 3da3b81a140c..ef51b90c5af8 100644 --- a/stdlib/@tests/stubtest_allowlists/py313.txt +++ b/stdlib/@tests/stubtest_allowlists/py313.txt @@ -108,7 +108,6 @@ mailbox.Maildir.get_info mailbox.Maildir.remove_flag mailbox.Maildir.set_flags mailbox.Maildir.set_info -os.path.splitroot pdb.Pdb.MAX_CHAINED_EXCEPTION_DEPTH pdb.Pdb.completedefault pdb.Pdb.completenames diff --git a/stdlib/@tests/stubtest_allowlists/win32-py313.txt b/stdlib/@tests/stubtest_allowlists/win32-py313.txt index baa53871666b..77cef26305c8 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py313.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py313.txt @@ -33,7 +33,6 @@ nt.fchmod nt.lchmod ntpath.exists ntpath.lexists -ntpath.splitroot os.fchmod os.lchmod os.path.exists diff --git a/stdlib/posixpath.pyi b/stdlib/posixpath.pyi index e5f5fa0d813c..ec5aeccce264 100644 --- a/stdlib/posixpath.pyi +++ b/stdlib/posixpath.pyi @@ -161,6 +161,6 @@ def lexists(path: FileDescriptorOrPath) -> bool: ... if sys.version_info >= (3, 12): def isjunction(path: StrOrBytesPath) -> bool: ... @overload - def splitroot(p: AnyOrLiteralStr) -> tuple[AnyOrLiteralStr, AnyOrLiteralStr, AnyOrLiteralStr]: ... + def splitroot(path: AnyOrLiteralStr) -> tuple[AnyOrLiteralStr, AnyOrLiteralStr, AnyOrLiteralStr]: ... @overload - def splitroot(p: PathLike[AnyStr]) -> tuple[AnyStr, AnyStr, AnyStr]: ... + def splitroot(path: PathLike[AnyStr]) -> tuple[AnyStr, AnyStr, AnyStr]: ...