summaryrefslogtreecommitdiff
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-11-08 20:21:22 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2016-11-08 20:21:22 +0200
commit579f038018a87004f9cbc08987a40f14bd636d7c (patch)
tree1869dee76a3cda41334ffb3d1e28af70060711e4 /Modules/posixmodule.c
parent6ea2b8fc8be8725e1553fbbb159ea07806e9f41a (diff)
downloadcpython-git-579f038018a87004f9cbc08987a40f14bd636d7c.tar.gz
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 d73762431a..5a23824a1a 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3865,20 +3865,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;