def entriefy(data):
 convert = (lambda tup: Entry(*tup))
 if is_python3():
  return map(convert, data.items())
 return imap(convert, data.iteritems())

def entriefy ( data ) : convert = ( lambda tup : Entry ( * tup ) ) if is_python3 ( ) : return map ( convert , data . items ( ) ) return imap ( convert , data . iteritems ( ) )
converts a dictionary into an iterator of entries .