File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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()
You can’t perform that action at this time.
0 commit comments