<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def resources(self):
 """Retrieve contents of each page of PDF"""

        return [self.pdf.getPage(i) for i in range(self.pdf.getNumPages())]