Issue #23921: Standardized documentation whitespace formatting.

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

View file

@ -2668,8 +2668,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 ::
@ -2680,8 +2680,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"