mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
This commit is contained in:
parent
387235085c
commit
dba903993a
63 changed files with 445 additions and 409 deletions
|
|
@ -2663,8 +2663,8 @@ Explicitly pass resources to child processes
|
|||
... do something using "lock" ...
|
||||
|
||||
if __name__ == '__main__':
|
||||
lock = Lock()
|
||||
for i in range(10):
|
||||
lock = Lock()
|
||||
for i in range(10):
|
||||
Process(target=f).start()
|
||||
|
||||
should be rewritten as ::
|
||||
|
|
@ -2675,8 +2675,8 @@ Explicitly pass resources to child processes
|
|||
... do something using "l" ...
|
||||
|
||||
if __name__ == '__main__':
|
||||
lock = Lock()
|
||||
for i in range(10):
|
||||
lock = Lock()
|
||||
for i in range(10):
|
||||
Process(target=f, args=(lock,)).start()
|
||||
|
||||
Beware of replacing :data:`sys.stdin` with a "file like object"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue