Skip to content

Commit

Permalink
[3.13] pythongh-102511: Change the os.path.splitroot param name fro…
Browse files Browse the repository at this point in the history
…m `path` back to `p` (pythonGH-124097)

(cherry picked from commit 3b6bfa7)

Co-authored-by: sobolevn <[email protected]>
  • Loading branch information
sobolevn authored and JelleZijlstra committed Oct 3, 2024
1 parent e6fb7fa commit 8a0285b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Modules/clinic/posixmodule.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Modules/posixmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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;
Expand Down

0 comments on commit 8a0285b

Please sign in to comment.