@functools.singledispatch<EOL>def compute_pick(artist, event):
warnings.warn("<STR_LIT>".format(type(artist)))<EOL>
Find whether *artist* has been picked by *event*.

If it has, return the appropriate `Selection`; otherwise return ``None``.

This is a single-dispatch function; implementations for various artist
classes follow.