Skip to content

Commit

Permalink
Fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreDecan committed Mar 9, 2018
1 parent aa481fd commit 371eeb3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/advancedtopics/communication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,11 @@ We define a bidirectional communication between the two first interpreters:
interpreter_2.bind(interpreter_1)

We also bind the third interpreters with the two first ones.
Notice that :py:meth:`~sismic.interpreter.Interpreter.bind` returns the current interpreter, so multiple calls
can be chained:

.. testcode:: bind

interpreter_3.bind(interpreter_1).bind(interpreter_2)
interpreter_3.bind(interpreter_1)
interpreter_3.bind(interpreter_2)

When an internal event is sent by an interpreter, the bound interpreters also receive this event as an external
event.
Expand Down

0 comments on commit 371eeb3

Please sign in to comment.