mirror of
https://github.com/python/cpython
synced 2026-09-29 09:40:29 +03:00
The docstring for ttyname(..) claims a second "mode" argument. The
actual code does not allow such an argument. (Finn Bock.)
This commit is contained in:
parent
11a8d0b684
commit
61eeb044d7
1 changed files with 1 additions and 1 deletions
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue