summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-02-22 15:29:15 (GMT)
committerGuido van Rossum <guido@python.org>1999-02-22 15:29:15 (GMT)
commit61eeb044d7d1a6d0257f8aff6794a5d6e1f80944 (patch)
tree809edaad0dd57af9ea2b95149241452ef51ea8fd /Modules/posixmodule.c
parent11a8d0b684f86edb2760020371b53dc9377a9dbd (diff)
downloadcpython-61eeb044d7d1a6d0257f8aff6794a5d6e1f80944.zip
cpython-61eeb044d7d1a6d0257f8aff6794a5d6e1f80944.tar.gz
cpython-61eeb044d7d1a6d0257f8aff6794a5d6e1f80944.tar.bz2
The docstring for ttyname(..) claims a second "mode" argument. The
actual code does not allow such an argument. (Finn Bock.)
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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 *