def cache_get(key, cache=None):
    """Gets a value from the cache.

    .. warning:: Bytes are returned for Python 3.

    :param str|unicode key: The cache key to get value for.

    :param str|unicode cache: Cache name with optional address (if @-syntax is used).

    :rtype: bytes|str|None
    """
