summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2011-06-09 14:46:21 (GMT)
committerBrian Curtin <brian@python.org>2011-06-09 14:46:21 (GMT)
commitd9463b233c5fefbda3f1b9f2b37f7ff78a7c88ff (patch)
tree21c17b5c3a1b39ea3bf41110fb49f0e1332e6083 /Modules
parent577a6af8e6b715e6b46e92cf14603a266fc361a8 (diff)
parent95d028fd18fc33ceac8b2727a1e9fe3d4a8256b8 (diff)
downloadcpython-d9463b233c5fefbda3f1b9f2b37f7ff78a7c88ff.zip
cpython-d9463b233c5fefbda3f1b9f2b37f7ff78a7c88ff.tar.gz
cpython-d9463b233c5fefbda3f1b9f2b37f7ff78a7c88ff.tar.bz2
Merge 3.2
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index f9b3a43..bfdf5cd 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -2961,6 +2961,9 @@ posix__getfileinformation(PyObject *self, PyObject *args)
info.nFileIndexLow);
}
+PyDoc_STRVAR(posix__isdir__doc__,
+"Return true if the pathname refers to an existing directory.");
+
static PyObject *
posix__isdir(PyObject *self, PyObject *args)
{
@@ -9597,7 +9600,7 @@ static PyMethodDef posix_methods[] = {
{"_getfullpathname", posix__getfullpathname, METH_VARARGS, NULL},
{"_getfinalpathname", posix__getfinalpathname, METH_VARARGS, NULL},
{"_getfileinformation", posix__getfileinformation, METH_VARARGS, NULL},
- {"_isdir", posix__isdir, METH_VARARGS, NULL},
+ {"_isdir", posix__isdir, METH_VARARGS, posix__isdir__doc__},
#endif
#ifdef HAVE_GETLOADAVG
{"getloadavg", posix_getloadavg, METH_NOARGS, posix_getloadavg__doc__},