File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 113
113
114
114
``` python
115
115
< set > .add(< el> ) # Or: <set> |= {<el>}
116
- < set > .update(< collection> ) # Or: <set> |= <set>
116
+ < set > .update(< collection> [, ... ]) # Or: <set> |= <set>
117
117
```
118
118
119
119
``` python
Original file line number Diff line number Diff line change 301
301
</ code > </ pre > </ div >
302
302
303
303
< pre > < code class ="python language-python hljs "> <set>.add(<el>) < span class ="hljs-comment "> # Or: <set> |= {<el>}</ span >
304
- <set>.update(<collection>) < span class ="hljs-comment "> # Or: <set> |= <set></ span >
304
+ <set>.update(<collection> [, ...]) < span class ="hljs-comment "> # Or: <set> |= <set></ span >
305
305
</ code > </ pre >
306
306
< pre > < code class ="python language-python hljs "> <set> = <set>.union(<coll.>) < span class ="hljs-comment "> # Or: <set> | <set></ span >
307
307
<set> = <set>.intersection(<coll.>) < span class ="hljs-comment "> # Or: <set> & <set></ span >
You can’t perform that action at this time.
0 commit comments