parameters: (self)
docstring: Destructor.  Calls close().
docstring_summary: Destructor.  Calls close().
docstring_tokens: Destructor . Calls close () .
function: def __del__(self):
          """Destructor.  Calls close()."""
          # The try/except block is in case this is called at program
          # exit time, when it's possible that globals have already been
          # deleted, and then the close() call might fail.  Since
          # there's nothing we can do about such failures and they annoy
          # the end users, we suppress the traceback.
          try:
              self.close()
          except:
              pass
function_tokens: def __del__ ( self ) : # The try/except block is in case this is called at program # exit time, when it's possible that globals have already been # deleted, and then the close() call might fail.  Since # there's nothing we can do about such failures and they annoy # the end users, we suppress the traceback. try : self . close ( ) except : pass