mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
[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:
parent
d869d54962
commit
761c3b280b
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue