pyrser/ast/state.py
def to_dot_file(self, fname: str):
        """
        write a '.dot' file.
        """
        with open(fname, 'w') as f:
            f.write(self.to_dot())
def to_dot_file(self, fname: str):
        """
        write a '.dot' file.
        """
        with open(fname, 'w') as f:
            f.write(self.to_dot())
write a '.dot' file.