#NEWLINE# def put( obj ) : #NEWLINE# #INDENT# if ( type ( obj ) == list ) : #NEWLINE# #INDENT# cache . set_many ( dict ( zip ( [ _cache_key ( o ) for o in obj ] , [ o for o in obj ] ) ) ) #NEWLINE# for o in obj : #NEWLINE# #INDENT# _process_cache [ _cache_key ( o ) ] = obj #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# cache . set ( _cache_key ( obj ) , o ) #NEWLINE# _process_cache [ _cache_key ( obj ) ] = obj