Commit dc2dc123 authored by Thomas Wouters's avatar Thomas Wouters

ANSIfy the just-checked-in isatty() wrapper.

parent 8b335c0e
...@@ -3250,9 +3250,7 @@ Return true if the file descriptor 'fd' is an open file descriptor\n\ ...@@ -3250,9 +3250,7 @@ Return true if the file descriptor 'fd' is an open file descriptor\n\
connected to a terminal."; connected to a terminal.";
static PyObject * static PyObject *
posix_isatty(self, args) posix_isatty(PyObject *self, PyObject *args)
PyObject *self;
PyObject *args;
{ {
int fd; int fd;
if (!PyArg_ParseTuple(args, "i:isatty", &fd)) if (!PyArg_ParseTuple(args, "i:isatty", &fd))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment