def write(self):
        """
        Write the zsh completion code to the file given to __init__
        @return: L{None}
        """
        self.writeHeader()
        self.writeExtras()
        self.writeOptions()
        self.writeFooter()

        Write the zsh completion code to the file given to __init__
        @return: L{None}
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/_shellcomp.py