(self)
| 800 | return line |
| 801 | |
| 802 | def close(self): |
| 803 | if not self.__handler is None: |
| 804 | # Saves the last position. |
| 805 | self.__pos = self.__handler.tell() |
| 806 | # Closes the file. |
| 807 | self.__handler.close() |
| 808 | self.__handler = None |
| 809 | ## print "D: Closed %s with pos %d" % (handler, self.__pos) |
| 810 | ## sys.stdout.flush() |
| 811 | |
| 812 | |
| 813 | ## |
no outgoing calls