summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-11-08 18:28:43 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-11-08 18:28:43 (GMT)
commitb74fecc396c46f064113ae7cf9f7abc07b1d1a8f (patch)
treee2d16aa8f3c7c216c464bc2f57b990dd74abbfc7 /Modules/posixmodule.c
parentb5c349d5ae81c4b81a6c087707fb45cf2d0c2cf4 (diff)
parent852cc3335e4141102fe32440455fad3f65e0216a (diff)
downloadcpython-b74fecc396c46f064113ae7cf9f7abc07b1d1a8f.zip
cpython-b74fecc396c46f064113ae7cf9f7abc07b1d1a8f.tar.gz
cpython-b74fecc396c46f064113ae7cf9f7abc07b1d1a8f.tar.bz2
Issue #28585: Restored docstring of os._isdir().
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index adcadc2..c2d518c 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3717,20 +3717,18 @@ os__getfinalpathname_impl(PyObject *module, PyObject *path)
return result;
}
-PyDoc_STRVAR(posix__isdir__doc__,
-"Return true if the pathname refers to an existing directory.");
-
/*[clinic input]
os._isdir
path: path_t
/
+Return true if the pathname refers to an existing directory.
[clinic start generated code]*/
static PyObject *
os__isdir_impl(PyObject *module, path_t *path)
-/*[clinic end generated code: output=75f56f32720836cb input=e794f12faab62a2a]*/
+/*[clinic end generated code: output=75f56f32720836cb input=5e0800149c0ad95f]*/
{
DWORD attributes;