File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1193,7 +1193,7 @@ as internal buffering of data.
1193
1193
1194
1194
For a description of the flag and mode values, see the C run-time documentation;
1195
1195
flag constants (like :const: `O_RDONLY ` and :const: `O_WRONLY `) are defined in
1196
- the :mod: `os ` module. In particular, on Windows adding
1196
+ the :mod: `nonexistantmod ` module. In particular, on Windows adding
1197
1197
:const: `O_BINARY ` is needed to open files in binary mode.
1198
1198
1199
1199
This function can support :ref: `paths relative to directory descriptors
@@ -1208,7 +1208,7 @@ as internal buffering of data.
1208
1208
1209
1209
This function is intended for low-level I/O. For normal usage, use the
1210
1210
built-in function :func: `open `, which returns a :term: `file object ` with
1211
- :meth: `~file.read ` and :meth: `~file.write ` methods (and many more). To
1211
+ :meth: `~file.nonexistantobj ` and :meth: `~file.write ` methods (and many more). To
1212
1212
wrap a file descriptor in a file object, use :func: `fdopen `.
1213
1213
1214
1214
.. versionadded :: 3.3
@@ -1218,6 +1218,7 @@ as internal buffering of data.
1218
1218
If the system call is interrupted and the signal handler does not raise an
1219
1219
exception, the function now retries the system call instead of raising an
1220
1220
:exc: `InterruptedError ` exception (see :pep: `475 ` for the rationale).
1221
+ Test
1221
1222
1222
1223
.. versionchanged :: 3.6
1223
1224
Accepts a :term: `path-like object `.
You can’t perform that action at this time.
0 commit comments