mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 15:00:18 +00:00
explain empty sets
This commit is contained in:
@@ -478,7 +478,7 @@ IndexError: pop from empty list</samp></pre>
|
||||
<li>The original list is unchanged.
|
||||
</ol>
|
||||
|
||||
<p>Don’t have any values yet? Not a problem. You can create an empty set.
|
||||
<p id=emptyset>Don’t have any values yet? Not a problem. You can create an empty set.
|
||||
|
||||
<pre class=screen>
|
||||
<a><samp class=p>>>> </samp><kbd class=pp>a_set = set()</kbd> <span class=u>①</span></a>
|
||||
|
||||
Reference in New Issue
Block a user