parameters: (self)
docstring: Separate the underlying buffer from the TextIOBase and return it.
  
          After the underlying buffer has been detached, the TextIO is in an
          unusable state.
docstring_summary: Separate the underlying buffer from the TextIOBase and return it.
docstring_tokens: Separate the underlying buffer from the TextIOBase and return it .
function: def detach(self):
          """
          Separate the underlying buffer from the TextIOBase and return it.
  
          After the underlying buffer has been detached, the TextIO is in an
          unusable state.
          """
          self._unsupported("detach")
function_tokens: def detach ( self ) : self . _unsupported ( "detach" )