Skip to content

Commit 0628d63

Browse files
committed
pythongh-109782 Update NT os.path.isdir signature
1 parent e8be0c9 commit 0628d63

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Modules/clinic/posixmodule.c.h

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

Modules/posixmodule.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4912,15 +4912,15 @@ os__path_splitroot_impl(PyObject *module, path_t *path)
49124912
/*[clinic input]
49134913
os._path_isdir
49144914
4915-
path: 'O'
4915+
s: 'O'
49164916
49174917
Return true if the pathname refers to an existing directory.
49184918
49194919
[clinic start generated code]*/
49204920

49214921
static PyObject *
4922-
os__path_isdir_impl(PyObject *module, PyObject *path)
4923-
/*[clinic end generated code: output=00faea0af309669d input=b1d2571cf7291aaf]*/
4922+
os__path_isdir_impl(PyObject *module, PyObject *s)
4923+
/*[clinic end generated code: output=9d87ab3c8b8a4e61 input=c17f7ef21d22d64e]*/
49244924
{
49254925
HANDLE hfile;
49264926
BOOL close_file = TRUE;

0 commit comments

Comments
 (0)