mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
ANSIfy the just-checked-in isatty() wrapper.
This commit is contained in:
parent
1517d842b6
commit
616607a987
1 changed files with 1 additions and 3 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue