Minor doc change.

This commit is contained in:
Ryan Williams
2009-07-14 00:36:55 -07:00
parent 2fe0b0440d
commit 090232e8b8

View File

@@ -43,9 +43,10 @@ class event(object):
can wait for one event from another.
Events differ from channels in two ways:
1) calling send() does not unschedule the current coroutine
2) send() can only be called once; use reset() to prepare the event for
another send()
1. calling send() does not unschedule the current coroutine
2. send() can only be called once; use reset() to prepare the event for
another send()
They are ideal for communicating return values between coroutines.
>>> from eventlet import coros, api