summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-19 14:45:40 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-19 14:45:40 (GMT)
commit616607a98719aa48e7f044dde828456d987a8385 (patch)
treea90f4ec47d1cebd8eec4b43c7916befe40d1a895 /Modules
parent1517d842b6d1dc7d762a007c028bb3dc23f6d383 (diff)
downloadcpython-616607a98719aa48e7f044dde828456d987a8385.zip
cpython-616607a98719aa48e7f044dde828456d987a8385.tar.gz
cpython-616607a98719aa48e7f044dde828456d987a8385.tar.bz2
ANSIfy the just-checked-in isatty() wrapper.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 24f1dc2..7413cfe 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))