parameters: (self)
docstring: Close the iterable (if needed) and reset all instance vars
  
          Subclasses may want to also drop the client connection.
docstring_summary: Close the iterable (if needed) and reset all instance vars
docstring_tokens: Close the iterable ( if needed ) and reset all instance vars
function: def close(self):
          """Close the iterable (if needed) and reset all instance vars
  
          Subclasses may want to also drop the client connection.
          """
          try:
              if hasattr(self.result,'close'):
                  self.result.close()
          finally:
              self.result = self.headers = self.status = self.environ = None
              self.bytes_sent = 0; self.headers_sent = False
function_tokens: def close ( self ) : try : if hasattr ( self . result , 'close' ) : self . result . close ( ) finally : self . result = self . headers = self . status = self . environ = None self . bytes_sent = 0 self . headers_sent = False