Has set been deprecated in python 2? : <p>Has <code>set</code> been deprecated in python?</p>

<p>I am learning python online <a href="http://www.python-course.eu/sets_frozensets.php" rel="nofollow">here</a> and trying to implement the following command - </p>

<pre><code>x = set(["Perl", "Python", "Java"])
Traceback (most recent call last):
File "&lt;stdin&gt;", line 1, in &lt;module&gt;
TypeError: 'list' object is not callable
</code></pre>

<p>So has it been deprecated in python 2.7?</p>
