Issue #23921: Standardized documentation whitespace formatting.

Original patch by James Edwards.
This commit is contained in:
Serhiy Storchaka 2016-05-10 12:01:23 +03:00
parent 387235085c
commit dba903993a
63 changed files with 445 additions and 409 deletions

View file

@ -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"