Browse Source

Set

pull/10/head
Jure Šorn 5 years ago
parent
commit
15c8ee2e0e
1 changed files with 6 additions and 6 deletions
  1. 12
      README.md

12
README.md

@ -101,12 +101,12 @@ Set
```
```python
<set> = <set>.union(<coll>) # Or: <set> | <set>
<set> = <set>.intersection(<coll>) # Or: <set> & <set>
<set> = <set>.difference(<coll>) # Or: <set> - <set>
<set> = <set>.symmetric_difference(<coll>) # Or: <set> ^ <set>
<bool> = <set>.issubset(<coll>) # Or: <set> < <set>
<bool> = <set>.issuperset(<coll>) # Or: <set> > <set>
<set> = <set>.union(<collection>) # Or: <set> | <set>
<set> = <set>.intersection(<collection>) # Or: <set> & <set>
<set> = <set>.difference(<collection>) # Or: <set> - <set>
<set> = <set>.symmetric_difference(<collection>) # Or: <set> ^ <set>
<bool> = <set>.issubset(<collection>) # Or: <set> < <set>
<bool> = <set>.issuperset(<collection>) # Or: <set> > <set>
```
### Frozenset

Loading…
Cancel
Save