keyword: use Python 2/3-agnostic set notation in reduce_keywords doctest
authorW. Trevor King <wking@tremily.us>
Mon, 12 Nov 2012 01:35:08 +0000 (20:35 -0500)
committerW. Trevor King <wking@tremily.us>
Mon, 12 Nov 2012 01:35:08 +0000 (20:35 -0500)
commit88ac4e9030ab5827d1ab4d01ee6c0aff85184d28
tree81d38d8e1a950ecc36001ab6fc76de8dfa776a67
parentfef019e0dcc37346a5344fd3fa644a44fcdd22f1
keyword: use Python 2/3-agnostic set notation in reduce_keywords doctest

Python 2.7 prints sets as "set([1, 2])", but Python 3.2 prints them as
"{1, 2}".  Avoid having to chose by showing that the result of
reduce_keywords() is a set, and then printing the elements in a list.
pym/gentoolkit/keyword.py