The docstring for ttyname(..) claims a second "mode" argument. The

actual code does not allow such an argument.  (Finn Bock.)
This commit is contained in:
Guido van Rossum 1999-02-22 15:29:15 +00:00
parent 11a8d0b684
commit 61eeb044d7
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ posix_access(self, args)
#ifdef HAVE_TTYNAME
static char posix_ttyname__doc__[] =
"ttyname(fd, mode) -> String\n\
"ttyname(fd) -> String\n\
Return the name of the terminal device connected to 'fd'.";
static PyObject *