summaryrefslogtreecommitdiff
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2007-12-08 14:37:43 +0000
committerSkip Montanaro <skip@pobox.com>2007-12-08 14:37:43 +0000
commit4e3ebe0baeba9a7b4a1dcfcadb8b042aef7eb5fb (patch)
tree1bb48ca261de00182fc2d7068c24cfb2f1df39a4 /Python/bltinmodule.c
parente40a6a85ee46019b5473f3240058612f7ee88ae5 (diff)
downloadcpython-git-4e3ebe0baeba9a7b4a1dcfcadb8b042aef7eb5fb.tar.gz
Note that open() is the preferred way to open files (issue 1510).
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index e1242fdede..92304b3862 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1357,7 +1357,8 @@ builtin_open(PyObject *self, PyObject *args, PyObject *kwds)
PyDoc_STRVAR(open_doc,
"open(name[, mode[, buffering]]) -> file object\n\
\n\
-Open a file using the file() type, returns a file object.");
+Open a file using the file() type, returns a file object. This is the\n\
+preferred way to open a file.");
static PyObject *