Skip to content

Commit 559313e

Browse files
committed
Fix indentation.
1 parent 3c765bc commit 559313e

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

‎Doc/library/concurrent.interpreters.rst‎

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -363,31 +363,31 @@ Creating an interpreter and running code in it::
363363
from concurrent import interpreters
364364

365365
with interpreters.create() as interp:
366-
# Run in the current OS thread.
366+
# Run in the current OS thread.
367367

368-
interp.exec('print("spam!")')
368+
interp.exec('print("spam!")')
369369

370-
interp.exec("""if True:
371-
print('spam!')
372-
""")
370+
interp.exec("""if True:
371+
print('spam!')
372+
""")
373373

374-
from textwrap import dedent
375-
interp.exec(dedent("""
376-
print('spam!')
377-
"""))
374+
from textwrap import dedent
375+
interp.exec(dedent("""
376+
print('spam!')
377+
"""))
378378

379-
def run(arg):
380-
return arg
379+
def run(arg):
380+
return arg
381381

382-
res = interp.call(run, 'spam!')
383-
print(res)
382+
res = interp.call(run, 'spam!')
383+
print(res)
384384

385-
def run():
386-
print('spam!')
385+
def run():
386+
print('spam!')
387387

388-
interp.call(run)
388+
interp.call(run)
389389

390-
# Run in new OS thread.
390+
# Run in new OS thread.
391391

392-
t = interp.call_in_thread(run)
393-
t.join()
392+
t = interp.call_in_thread(run)
393+
t.join()

0 commit comments

Comments
 (0)