summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-10-03 16:54:24 (GMT)
committerThomas Wouters <thomas@python.org>2000-10-03 16:54:24 (GMT)
commit12e1595e2820a1f6651cbd2cf938ce31d9e3ea84 (patch)
tree0d35751f4a10ba73be761f342743e7b800cf36aa
parentf2c1be22f2f60aafa4ccef1e1a2e0a555f4e6a1a (diff)
downloadcpython-12e1595e2820a1f6651cbd2cf938ce31d9e3ea84.zip
cpython-12e1595e2820a1f6651cbd2cf938ce31d9e3ea84.tar.gz
cpython-12e1595e2820a1f6651cbd2cf938ce31d9e3ea84.tar.bz2
Clarify that isatty is only guaranteed to return true for slave ends of
terminals, not the master end (though it does, on most systems.)
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 8350e06..8544f6a 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3468,7 +3468,7 @@ posix_fdopen(PyObject *self, PyObject *args)
static char posix_isatty__doc__[] =
"isatty(fd) -> Boolean\n\
Return true if the file descriptor 'fd' is an open file descriptor\n\
-connected to a terminal.";
+connected to the slave end of a terminal.";
static PyObject *
posix_isatty(PyObject *self, PyObject *args)