def b_ord(byte):
    """Return the Unicode code point for a byte or iteration product \
of a byte string alike object (e.g. bytearray).

    :param byte: The single byte or iteration product of a byte string to \
convert
    :type byte: bytes or str or int
    :return: Unicode code point
    :rtype: int"""
    return byte if isinstance(byte, int) else ord(byte)