<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def teepickle(table, source=None, protocol=-1, write_header=True):
 """ Return a table that writes rows to a pickle file as they are iterated over. """


    return TeePickleView(table, source=source, protocol=protocol,
                         write_header=write_header)