Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8a0285b

Browse filesBrowse files
sobolevnJelleZijlstra
authored andcommitted
[3.13] pythongh-102511: Change the os.path.splitroot param name from path back to p (pythonGH-124097)
(cherry picked from commit 3b6bfa7) Co-authored-by: sobolevn <mail@sobolevn.me>
1 parent e6fb7fa commit 8a0285b
Copy full SHA for 8a0285b

File tree

Expand file treeCollapse file tree

2 files changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-6
lines changed

‎Modules/clinic/posixmodule.c.h

Copy file name to clipboardExpand all lines: Modules/clinic/posixmodule.c.h
+4-4Lines 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

Copy file name to clipboardExpand all lines: Modules/posixmodule.c
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.