def persist(self):
os.makedirs(self.__symbol_folder, exist_ok=True)<EOL>os.makedirs(self.__aliases_folder, exist_ok=True)<EOL>os.makedirs(self.__comments_folder, exist_ok=True)<EOL>for name, sym in self.__symbols.items():<EOL><INDENT>with open(self.__get_pickle_path(self.__symbol_folder, name, True), '<STR_LIT:wb>') as _:<EOL><INDENT>pickle.dump(sym, _)<EOL><DEDENT><DEDENT>for name, aliases in self.__aliases.items():<EOL><INDENT>if aliases:<EOL><INDENT>with open(self.__get_pickle_path(self.__aliases_folder, name, True), '<STR_LIT:wb>') as _:<EOL><INDENT>pickle.dump(aliases, _)<EOL><DEDENT><DEDENT><DEDENT>for name, comment in self.__comments.items():<EOL><INDENT>if comment:<EOL><INDENT>with open(self.__get_pickle_path(self.__comments_folder, name, True), '<STR_LIT:wb>') as _:<EOL><INDENT>pickle.dump(comment, _)<EOL><DEDENT><DEDENT><DEDENT>
Banana banana