Skip to content

Commit 3b6bfa7

Browse files
authored
gh-102511: Change the os.path.splitroot param name from path back to p (GH-124097)
1 parent 0c4884d commit 3b6bfa7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Modules/clinic/posixmodule.c.h

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/posixmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5497,7 +5497,7 @@ os__path_isjunction_impl(PyObject *module, path_t *path)
54975497
/*[clinic input]
54985498
os._path_splitroot_ex
54995499
5500-
path: path_t(make_wide=True, nonstrict=True)
5500+
p as path: path_t(make_wide=True, nonstrict=True)
55015501
55025502
Split a pathname into drive, root and tail.
55035503
@@ -5506,7 +5506,7 @@ The tail contains anything after the root.
55065506

55075507
static PyObject *
55085508
os__path_splitroot_ex_impl(PyObject *module, path_t *path)
5509-
/*[clinic end generated code: output=4b0072b6cdf4b611 input=6eb76e9173412c92]*/
5509+
/*[clinic end generated code: output=4b0072b6cdf4b611 input=4556b615c7cc13f2]*/
55105510
{
55115511
Py_ssize_t drvsize, rootsize;
55125512
PyObject *drv = NULL, *root = NULL, *tail = NULL, *result = NULL;

0 commit comments

Comments
 (0)