]> granicus.if.org Git - python/commitdiff
Clarify that isatty is only guaranteed to return true for slave ends of
authorThomas Wouters <thomas@python.org>
Tue, 3 Oct 2000 16:54:24 +0000 (16:54 +0000)
committerThomas Wouters <thomas@python.org>
Tue, 3 Oct 2000 16:54:24 +0000 (16:54 +0000)
terminals, not the master end (though it does, on most systems.)

Modules/posixmodule.c

index 8350e06e6d88f747cf56ecaa1847767a2029c7ce..8544f6a9415153e85d4fd39e9ddfcf23353c901f 100644 (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)