Skip to content

Commit 761c3b2

Browse files
[3.13] gh-102511: Change the os.path.splitroot param name from path back to p (GH-124097) (#124919)
(cherry picked from commit 3b6bfa7) Co-authored-by: sobolevn <mail@sobolevn.me>
1 parent d869d54 commit 761c3b2

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
@@ -5503,7 +5503,7 @@ os__path_isjunction_impl(PyObject *module, path_t *path)
55035503
/*[clinic input]
55045504
os._path_splitroot_ex
55055505
5506-
path: path_t(make_wide=True, nonstrict=True)
5506+
p as path: path_t(make_wide=True, nonstrict=True)
55075507
55085508
Split a pathname into drive, root and tail.
55095509
@@ -5512,7 +5512,7 @@ The tail contains anything after the root.
55125512

55135513
static PyObject *
55145514
os__path_splitroot_ex_impl(PyObject *module, path_t *path)
5515-
/*[clinic end generated code: output=4b0072b6cdf4b611 input=6eb76e9173412c92]*/
5515+
/*[clinic end generated code: output=4b0072b6cdf4b611 input=4556b615c7cc13f2]*/
55165516
{
55175517
Py_ssize_t drvsize, rootsize;
55185518
PyObject *drv = NULL, *root = NULL, *tail = NULL, *result = NULL;

0 commit comments

Comments
 (0)