<s> from robot . utils import OrderedDict <EOL> def get_variables ( * args ) : <EOL> if args : <EOL> return dict ( ( args [ i ] , args [ i + <NUM_LIT:1> ] ) for i in range ( <NUM_LIT:0> , len ( args ) , <NUM_LIT:2> ) ) <EOL> list_ = [ '<STR_LIT:1>' , '<STR_LIT:2>' , <NUM_LIT:3> ] <EOL> tuple_ = tuple ( list_ ) <EOL> dict_ = { '<STR_LIT:a>' : <NUM_LIT:1> , <NUM_LIT:2> : '<STR_LIT:b>' } <EOL> ordered = OrderedDict ( ( chr ( o ) , o ) for o in range ( <NUM_LIT> , <NUM_LIT> ) ) <EOL> open_file = open ( __file__ ) <EOL> closed_file = open ( __file__ ) <EOL> closed_file . close ( ) <EOL> return { '<STR_LIT>' : list_ , <EOL> '<STR_LIT>' : tuple_ , <EOL> '<STR_LIT>' : ( i for i in range ( <NUM_LIT:5> ) ) , <EOL> '<STR_LIT>' : dict_ , <EOL> '<STR_LIT>' : ordered , <EOL> '<STR_LIT>' : list_ , <EOL> '<STR_LIT>' : tuple_ , <EOL> '<STR_LIT>' : ( i for i in range ( <NUM_LIT:5> ) ) , <EOL> '<STR_LIT>' : dict_ , <EOL> '<STR_LIT>' : failing_generator , <EOL> '<STR_LIT>' : FailingDict ( { <NUM_LIT:1> : <NUM_LIT:2> } ) , <EOL> '<STR_LIT>' : open_file , <EOL> '<STR_LIT>' : closed_file } <EOL> def failing_generator ( ) : <EOL> for i in [ <NUM_LIT:2> , <NUM_LIT:1> , <NUM_LIT:0> ] : <EOL> yield <NUM_LIT:1> / i <EOL> class FailingDict ( dict ) : <EOL> def __getattribute__ ( self , item ) : <EOL> raise Exception ( '<STR_LIT>' ) </s>
