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 *