()
print cache content
print cache content
print cache content
def print_cache():
    """print cache content"""

    for item, cache in CACHE:
        item = str(item)
        head = '='*len(item)

        print(head)
        print(item)
        print(head)

        if not isinstance(cache, tuple):
            cache = (cache,)
            shown = False
        else:
            shown = True

        for i, kv in enumerate(cache):
            if shown:
                print('\n*** %i ***\n' % i)

            for k, v in list(kv.items()):
                print('  %s :\t%s' % (k, v))
def print_cache ( ) : for item , cache in CACHE : item = str ( item ) head = '=' * len ( item ) print ( head ) print ( item ) print ( head ) if not isinstance ( cache , tuple ) : cache = ( cache , ) shown = False else : shown = True for i , kv in enumerate ( cache ) : if shown : print ( '\n*** %i ***\n' % i ) for k , v in list ( kv . items ( ) ) : print ( '  %s :\t%s' % ( k , v ) )