<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def attributes(cls):
 """ yields tuples for all attributes defined on this handler tuple yielded: name (str), attribute (Attribute) """


        for k in dir(cls):
            v = getattr(cls, k)
            if isinstance(v, Attribute):
                yield k,v