From 616607a98719aa48e7f044dde828456d987a8385 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Wed, 19 Jul 2000 14:45:40 +0000 Subject: [PATCH] ANSIfy the just-checked-in isatty() wrapper. --- Modules/posixmodule.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 24f1dc2193..7413cfeafa 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)) -- 2.40.0