Replaced function set() by set literal.

http://docs.python.org/dev/whatsnew/2.7.html#other-language-changes