Commit 3feeabbc authored by Thomas Wouters's avatar Thomas Wouters

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

terminals, not the master end (though it does, on most systems.)
parent ad64d22e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment