parameters: (stream)
return_statement: return isinstance(stream, io.TextIOBase)
docstring: Test whether a file-like object is a text or a binary stream.
docstring_summary: Test whether a file-like object is a text or a binary stream.
docstring_tokens: Test whether a file - like object is a text or a binary stream .
function: def _is_textIO(stream):
          """Test whether a file-like object is a text or a binary stream.
          """
          return isinstance(stream, io.TextIOBase)
function_tokens: def _is_textIO ( stream ) : return isinstance ( stream , io . TextIOBase )