human
Complete this python program:
def del_cached_content(location):
assistant
#Here is the Python program you requested.

    """Delete content for the given location, as well versions of the content without a run.
    It\s possible that the content could have been cached without knowing the course_key,
    and so without having the run.
    """
    def location_str(loc):
        'Force    the    location    to    a    Unicode    string.'
        return unicode(loc).encode('utf-8')
    locations = [location_str(location)]
    try:
        locations.append(location_str(location.replace(run=None)))
    except InvalidKeyError:
        pass
    CONTENT_CACHE.delete_many(locations, version=STATIC_CONTENT_VERSION)