1 2class set(object): 3 def __init__(self, x): 4 self.x = x 5 6SET = set([1]) 7 8class set(object): 9 def __init__(self, x): 10 self.X = x 11 12def test_class_redef(x): 13 """ 14 >>> SET.x 15 [1] 16 >>> test_class_redef(2).X 17 [2] 18 """ 19 return set([x]) 20