parameters: (self)
docstring: Declare that you are done with this OptionParser.  This cleans up
          reference cycles so the OptionParser (and all objects referenced by
          it) can be garbage-collected promptly.  After calling destroy(), the
          OptionParser is unusable.
docstring_summary: Declare that you are done with this OptionParser.  This cleans up
          reference cycles so the OptionParser (and all objects referenced by
          it) can be garbage-collected promptly.  After calling destroy(), the
          OptionParser is unusable.
docstring_tokens: Declare that you are done with this OptionParser . This cleans up reference cycles so the OptionParser ( and all objects referenced by it ) can be garbage - collected promptly . After calling destroy () the OptionParser is unusable .
function: def destroy(self):
          """
          Declare that you are done with this OptionParser.  This cleans up
          reference cycles so the OptionParser (and all objects referenced by
          it) can be garbage-collected promptly.  After calling destroy(), the
          OptionParser is unusable.
          """
          OptionContainer.destroy(self)
          for group in self.option_groups:
              group.destroy()
          del self.option_list
          del self.option_groups
          del self.formatter
function_tokens: def destroy ( self ) : OptionContainer . destroy ( self ) for group in self . option_groups : group . destroy ( ) del self . option_list del self . option_groups del self . formatter