]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
ANSIfy the just-checked-in isatty() wrapper.
authorThomas Wouters <thomas@python.org>
Wed, 19 Jul 2000 14:45:40 +0000 (14:45 +0000)
committerThomas Wouters <thomas@python.org>
Wed, 19 Jul 2000 14:45:40 +0000 (14:45 +0000)
Modules/posixmodule.c

index 24f1dc21930d35bb778057cd1db85aa6f09860de..7413cfeafac32cca20c474296f2dc09b6f914ade 100644 (file)
@@ -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))