def mymethods(self):
for member in self.values():<EOL><INDENT>if isinstance(member, FunctionDef):<EOL><INDENT>yield member<EOL><DEDENT><DEDENT>
Iterate over all of the method defined in this class only.

        :returns: The methods defined on the class.
        :rtype: iterable(FunctionDef)