parameters: (self, exc_type, exc_val, exc_tb)
docstring: Leave context: close port
docstring_summary: Leave context: close port
docstring_tokens: Leave context : close port
function: def __exit__(self, exc_type, exc_val, exc_tb):
          """Leave context: close port"""
          self.close()
function_tokens: def __exit__ ( self , exc_type , exc_val , exc_tb ) : self . close ( )