Clarify that isatty is only guaranteed to return true for slave ends of

terminals, not the master end (though it does, on most systems.)
This commit is contained in:
Thomas Wouters 2000-10-03 16:54:24 +00:00
parent f2c1be22f2
commit 12e1595e28
1 changed files with 1 additions and 1 deletions

View File

@ -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)