<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pages(self, limit=0):
 """Return iterator for pages"""

        if limit > 0:
            self.iterator.limit = limit
        return self.iterator