On Sunday, July 14, 2013 12:32:34 PM UTC-6, ru...@yahoo.com wrote: > Or more simply: > [(k, v or None) for k, v in my_dict.items()]
Too simply :-( Didn't read the op carefully enough. Sorry. -- http://mail.python.org/mailman/listinfo/python-list
On Sunday, July 14, 2013 12:32:34 PM UTC-6, ru...@yahoo.com wrote: > Or more simply: > [(k, v or None) for k, v in my_dict.items()]
Too simply :-( Didn't read the op carefully enough. Sorry. -- http://mail.python.org/mailman/listinfo/python-list