Skip to content

Commit 8f57a77

Browse files
committed
Set
1 parent d1ad8f5 commit 8f57a77

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

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

103+
```python
104+
<set>.remove(<el>) # Throws error.
105+
<set>.discard(<el>) # Doesn't throw error.
106+
```
107+
103108
```python
104109
<set> = <set>.union(<coll.>) # Or: <set> | <set>
105110
<set> = <set>.intersection(<coll.>) # Or: <set> & <set>

0 commit comments

Comments
 (0)