Skip to content

Commit c067423

Browse files
committed
Set
1 parent 8f57a77 commit c067423

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,6 @@ Set
100100
<set> |= <set>
101101
```
102102

103-
```python
104-
<set>.remove(<el>) # Throws error.
105-
<set>.discard(<el>) # Doesn't throw error.
106-
```
107-
108103
```python
109104
<set> = <set>.union(<coll.>) # Or: <set> | <set>
110105
<set> = <set>.intersection(<coll.>) # Or: <set> & <set>
@@ -114,6 +109,11 @@ Set
114109
<bool> = <set>.issuperset(<coll.>) # Or: <set> >= <set>
115110
```
116111

112+
```python
113+
<set>.remove(<el>) # Throws error.
114+
<set>.discard(<el>) # Doesn't throw error.
115+
```
116+
117117
### Frozenset
118118
#### Is hashable and can be used as a key in dictionary.
119119
```python

0 commit comments

Comments
 (0)