<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def distinct(self, fieldname, key=None):
 """ Returns the unique values seen at `fieldname`. """

        return tuple(unique_everseen(self[fieldname], key=key))