[3.13] gh-102511: Change the os.path.splitroot param name from path back to p (GH-124097) (#124919)

(cherry picked from commit 3b6bfa77aa)

Co-authored-by: sobolevn <mail@sobolevn.me>
This commit is contained in:
Jelle Zijlstra 2024-10-07 18:42:49 -07:00 committed by GitHub
parent d869d54962
commit 761c3b280b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -5503,7 +5503,7 @@ os__path_isjunction_impl(PyObject *module, path_t *path)
/*[clinic input]
os._path_splitroot_ex
path: path_t(make_wide=True, nonstrict=True)
p as path: path_t(make_wide=True, nonstrict=True)
Split a pathname into drive, root and tail.
@ -5512,7 +5512,7 @@ The tail contains anything after the root.
static PyObject *
os__path_splitroot_ex_impl(PyObject *module, path_t *path)
/*[clinic end generated code: output=4b0072b6cdf4b611 input=6eb76e9173412c92]*/
/*[clinic end generated code: output=4b0072b6cdf4b611 input=4556b615c7cc13f2]*/
{
Py_ssize_t drvsize, rootsize;
PyObject *drv = NULL, *root = NULL, *tail = NULL, *result = NULL;