ANSIfy the just-checked-in isatty() wrapper.
This commit is contained in:
parent
1517d842b6
commit
616607a987
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue