File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,8 +168,10 @@ def resolve_stubs(dispatcher, effect):
168168
169169class EQDispatcher (object ):
170170 """
171- A dispatcher that looks up intents by equality and performs them by
172- returning constant values.
171+ An equality-based (constant) dispatcher.
172+
173+ This dispatcher looks up intents by equality and performs them by returning
174+ an associated constant value.
173175
174176 Users provide a mapping of intents to results, where the intents are
175177 matched against the intents being performed with a simple equality check
@@ -198,8 +200,10 @@ def __call__(self, intent):
198200
199201class EQFDispatcher (object ):
200202 """
201- A dispatcher that looks up intents by equality and performs them by
202- invoking a provided function.
203+ An Equality-based function dispatcher.
204+
205+ This dispatcher looks up intents by equality and performs them by invoking
206+ an associated function.
203207
204208 Users provide a mapping of intents to functions, where the intents are
205209 matched against the intents being performed with a simple equality check
You can’t perform that action at this time.
0 commit comments