(input)
return isinstance(input, tuple(_STREAMLIKE_TYPES))
Check that the input is a byte stream.

    :param input: An object provided for reading from or writing to.
    :rtype: bool
    :returns: True if :param:input is a stream, False if otherwise.
Check that the input is a byte stream.
Check that the input is a byte stream .
def _is_stream(input):
    """Check that the input is a byte stream.

    :param input: An object provided for reading from or writing to.
    :rtype: bool
    :returns: True if :param:input is a stream, False if otherwise.
    """
    return isinstance(input, tuple(_STREAMLIKE_TYPES))
def _is_stream ( input ) : return isinstance ( input , tuple ( _STREAMLIKE_TYPES ) )