<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def nonzero(self):
 """ Get all non-zero bits """

        return [i for i in xrange(self.size()) if self.test(i)]