From: Thomas Wouters Date: Tue, 3 Oct 2000 16:54:24 +0000 (+0000) Subject: Clarify that isatty is only guaranteed to return true for slave ends of X-Git-Tag: v2.0c1~141 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12e1595e2820a1f6651cbd2cf938ce31d9e3ea84;p=thirdparty%2FPython%2Fcpython.git Clarify that isatty is only guaranteed to return true for slave ends of terminals, not the master end (though it does, on most systems.) --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 8350e06e6d88..8544f6a94151 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)