From: Thomas Wouters Date: Wed, 19 Jul 2000 14:45:40 +0000 (+0000) Subject: ANSIfy the just-checked-in isatty() wrapper. X-Git-Tag: v2.0b1~789 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=616607a98719aa48e7f044dde828456d987a8385;p=thirdparty%2FPython%2Fcpython.git ANSIfy the just-checked-in isatty() wrapper. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 24f1dc21930d..7413cfeafac3 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))