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 3b6bfa7

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

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
@@ -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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.