mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
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:
parent
f2c1be22f2
commit
12e1595e28
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue