Skip to content

Commit 76e6753

Browse files
Use :meth: for sys.stdout.flush
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
1 parent 9145242 commit 76e6753

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/os.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4320,7 +4320,7 @@ to be ignored.
43204320

43214321
The current process is replaced immediately. Open file objects are not
43224322
flushed, so if there may be data buffered on these open files, you should
4323-
flush them using :meth:`~io.IOBase.flush`, e.g. ``sys.stdout.flush()``,
4323+
flush them using :meth:`~io.IOBase.flush`, e.g. :meth:`sys.stdout.flush`,
43244324
before calling an :func:`exec\* <execl>` function.
43254325

43264326
The "l" and "v" variants of the :func:`exec\* <execl>` functions differ in how

0 commit comments

Comments
 (0)