<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def save_pkl(self, filename):
 """ Pickles TransitSignal. """

        with open(filename, 'wb') as fout:
            pickle.dump(self, fout)