Skip to content

Commit

Permalink
pythongh-102511: Change the os.path.splitroot param name from `path…
Browse files Browse the repository at this point in the history
…` back to `p`
  • Loading branch information
sobolevn committed Sep 15, 2024
1 parent 401fff7 commit 2daf748
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 @@ -5497,7 +5497,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 @@ -5506,7 +5506,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 2daf748

Please sign in to comment.