Skip to content

Commit 61be29c

Browse files
committed
Fix rendering of "reinstall()" example in docs
1 parent 7c2a5d8 commit 61be29c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

loguru/_logger.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,13 +1846,10 @@ def reinstall(self):
18461846
>>> def test_process_spawn():
18471847
... spawn_context = multiprocessing.get_context("spawn")
18481848
... logger.add("file.log", context=spawn_context, enqueue=True, catch=False)
1849-
...
18501849
... process = spawn_context.Process(target=subworker, args=(logger,))
18511850
... process.start()
18521851
... process.join()
1853-
18541852
... assert process.exitcode == 0
1855-
18561853
... logger.info("Main")
18571854
... logger.remove()
18581855
"""

0 commit comments

Comments
 (0)