<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def only_self(self):
 """Only match in self not others."""

        others, self.others = self.others, []
        try:
            yield
        finally:
            self.others = others + self.others