diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-19 14:45:40 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-19 14:45:40 (GMT) |
commit | 616607a98719aa48e7f044dde828456d987a8385 (patch) | |
tree | a90f4ec47d1cebd8eec4b43c7916befe40d1a895 | |
parent | 1517d842b6d1dc7d762a007c028bb3dc23f6d383 (diff) | |
download | cpython-616607a98719aa48e7f044dde828456d987a8385.zip cpython-616607a98719aa48e7f044dde828456d987a8385.tar.gz cpython-616607a98719aa48e7f044dde828456d987a8385.tar.bz2 |
ANSIfy the just-checked-in isatty() wrapper.
-rw-r--r-- | Modules/posixmodule.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 24f1dc2..7413cfe 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -3250,9 +3250,7 @@ Return true if the file descriptor 'fd' is an open file descriptor\n\ connected to a terminal."; static PyObject * -posix_isatty(self, args) - PyObject *self; - PyObject *args; +posix_isatty(PyObject *self, PyObject *args) { int fd; if (!PyArg_ParseTuple(args, "i:isatty", &fd)) |