Skip to content

Commit 2b56d93

Browse files
Update Doc/c-api/file.rst
Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent d049ec0 commit 2b56d93

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎Doc/c-api/file.rst‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ the :mod:`io` APIs instead.
8181
file and a read error, and it does not set an exception.
8282
8383
*fobj* exists only for backward compatibility and must be ``NULL``.
84-
If it is not ``NULL``, nothing is read, :c:data:`errno` is set to
85-
:c:macro:`!ENXIO` and ``NULL`` is returned.
8684
8785
8886
.. c:function:: int PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction handler)

0 commit comments

Comments
 (0)