Skip to content

Commit

Permalink
String used as a message in documentation
Browse files Browse the repository at this point in the history
Changed message from 'How are you?' to {'msg': 'How are you?'}.

Another place in the doc says "The message itself must always be a
dict", so I'm assuming this was a mistake.
  • Loading branch information
chris-martin committed Aug 13, 2014
1 parent 0be5af6 commit 14043f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ propagate to the sender::
actor_ref = Raiser.start()

try:
actor_ref.ask('How are you?')
actor_ref.ask({'msg': 'How are you?'})
except Exception as e:
print(repr(e))
# => Exception('Oops')
Expand Down

0 comments on commit 14043f2

Please sign in to comment.