commit | 61eeb044d7d1a6d0257f8aff6794a5d6e1f80944 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Feb 22 15:29:15 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Feb 22 15:29:15 1999 +0000 |
tree | 809edaad0dd57af9ea2b95149241452ef51ea8fd | |
parent | 11a8d0b684f86edb2760020371b53dc9377a9dbd [diff] [blame] |
The docstring for ttyname(..) claims a second "mode" argument. The actual code does not allow such an argument. (Finn Bock.)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index e8de3e6..a0b4f23 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c
@@ -594,7 +594,7 @@ #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 *