def _tupleize(d):
 return [(key, value) for (key, value) in d.items()]

def _tupleize ( d ) : return [ ( key , value ) for ( key , value ) in d . items ( ) ]
take the dict of options and convert to the 2-tuple format .