mirror of
https://github.com/python/cpython.git
synced 2025-07-30 14:44:10 +00:00
Note that open() is the preferred way to open files (issue 1510).
This commit is contained in:
parent
e40a6a85ee
commit
4e3ebe0bae
2 changed files with 4 additions and 2 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue