Issue 22823: Use set literal in idlelib.
Merge with 3.4