summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-09-15 18:45:46 (GMT)
committerGuido van Rossum <guido@python.org>2002-09-15 18:45:46 (GMT)
commitbd6be7aba5e5bc374aec42cd2e0aa8dcc7d230fb (patch)
treed30bc3efca329b8c01711c632d2be3cd615263cb /Modules
parent96aa0acef021f77d6e5b861201ccd952aa6f6469 (diff)
downloadcpython-bd6be7aba5e5bc374aec42cd2e0aa8dcc7d230fb.zip
cpython-bd6be7aba5e5bc374aec42cd2e0aa8dcc7d230fb.tar.gz
cpython-bd6be7aba5e5bc374aec42cd2e0aa8dcc7d230fb.tar.bz2
I think it makes more sense that the pseudo filename used by fdopen()
be "<fdopen>" rather than "(fdopen)".
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 90c0aac..f0e3f0d 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -4578,7 +4578,7 @@ posix_fdopen(PyObject *self, PyObject *args)
Py_END_ALLOW_THREADS
if (fp == NULL)
return posix_error();
- f = PyFile_FromFile(fp, "(fdopen)", mode, fclose);
+ f = PyFile_FromFile(fp, "<fdopen>", mode, fclose);
if (f != NULL)
PyFile_SetBufSize(f, bufsize);
return f;