projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11a8d0b
)
The docstring for ttyname(..) claims a second "mode" argument. The
author
Guido van Rossum
<guido@python.org>
Mon, 22 Feb 1999 15:29:15 +0000
(15:29 +0000)
committer
Guido van Rossum
<guido@python.org>
Mon, 22 Feb 1999 15:29:15 +0000
(15:29 +0000)
actual code does not allow such an argument. (Finn Bock.)
Modules/posixmodule.c
patch
|
blob
|
history
diff --git
a/Modules/posixmodule.c
b/Modules/posixmodule.c
index e8de3e64e8d4f30b18256b8aa5224719184dd921..a0b4f23b574a37c17431f0eeb216e10752ea339e 100644
(file)
--- 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 *