Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 44222:9a976a6ee936 legacy-trunk
Note that open() is the preferred way to open files (issue 1510).
| author | Skip Montanaro <skip@pobox.com> |
|---|---|
| date | Sat, 08 Dec 2007 14:37:43 +0000 |
| parents | 44c090c74202 |
| children | eaefb93b5ed4 |
line wrap: on
line diff
--- a/Python/bltinmodule.c Sat Dec 08 11:23:13 2007 +0000 +++ b/Python/bltinmodule.c Sat Dec 08 14:37:43 2007 +0000 @@ -1357,7 +1357,8 @@ 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 *
