| Tor Norbye | 3a2425a | 2013-11-04 10:16:08 -0800 | [diff] [blame^] | 1 | my_set = set() |
| 2 | my_set = <warning descr="Function call can be replaced with set literal">set([1,2,3])</warning> | ||||
| 3 | my_set = <warning descr="Function call can be replaced with set literal">set((1,2,3))</warning> | ||||
| 4 | |||||
| 5 | my_set = set(var) | ||||
| 6 | |||||
| 7 | def set(fake=None): | ||||
| 8 | pass | ||||
| 9 | |||||
| 10 | my_fake_set = set() | ||||
| 11 | my_fake_set = set([1,2,3]) | ||||