From 61eeb044d7d1a6d0257f8aff6794a5d6e1f80944 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 22 Feb 1999 15:29:15 +0000 Subject: [PATCH] The docstring for ttyname(..) claims a second "mode" argument. The actual code does not allow such an argument. (Finn Bock.) --- Modules/posixmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index e8de3e64e8d..a0b4f23b574 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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 *