Lines Matching refs:pickle
16 import pickle
31 The load() method reads the tables from a pickle file, which is
32 much faster than the other ways offered by subclasses. The pickle
88 """Dump the grammar tables to a pickle file."""
90 pickle.dump(self.__dict__, f, pickle.HIGHEST_PROTOCOL)
93 """Load the grammar tables from a pickle file."""
95 d = pickle.load(f)
99 """Load the grammar tables from a pickle bytes object."""
100 self.__dict__.update(pickle.loads(pkl))