mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Make punctuation prettier and break up run-on sentence.
This commit is contained in:
parent
7e2801d1b5
commit
321afa80ba
1 changed files with 2 additions and 2 deletions
|
@ -2107,7 +2107,7 @@ Beware replacing sys.stdin with a "file like object"
|
||||||
|
|
||||||
os.close(sys.stdin.fileno())
|
os.close(sys.stdin.fileno())
|
||||||
|
|
||||||
In the :meth:`multiprocessing.Process._bootstrap` method of - this resulted
|
in the :meth:`multiprocessing.Process._bootstrap` method --- this resulted
|
||||||
in issues with processes-in-processes. This has been changed to::
|
in issues with processes-in-processes. This has been changed to::
|
||||||
|
|
||||||
sys.stdin.close()
|
sys.stdin.close()
|
||||||
|
@ -2116,7 +2116,7 @@ Beware replacing sys.stdin with a "file like object"
|
||||||
Which solves the fundamental issue of processes colliding with each other
|
Which solves the fundamental issue of processes colliding with each other
|
||||||
resulting in a bad file descriptor error, but introduces a potential danger
|
resulting in a bad file descriptor error, but introduces a potential danger
|
||||||
to applications which replace :func:`sys.stdin` with a "file-like object"
|
to applications which replace :func:`sys.stdin` with a "file-like object"
|
||||||
with output buffering, this danger is that if multiple processes call
|
with output buffering. This danger is that if multiple processes call
|
||||||
:func:`close()` on this file-like object, it could result in the same
|
:func:`close()` on this file-like object, it could result in the same
|
||||||
data being flushed to the object multiple times, resulting in corruption.
|
data being flushed to the object multiple times, resulting in corruption.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue