set.intersection help suggests 2 sets, while any number > 0 is supported
Aperta
@rhettinger ci sta già lavorando.
Dal 3/12/2022.
docs
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 36k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
set.intersection help suggests 2 sets, while any number > 0 is supported
pydoc set.intersection states:
set.intersection = intersection(...)
Return the intersection of two sets as a new set.(i.e. all elements that are in both sets.)
while in fact one or more sets can be passed to the function, e.g.
>>> set.intersection({0,1,2,3}, {1,2,3,4}, {2,3,4,5})
{2, 3}
>>> set.intersection({0,1,2,3})
{0, 1, 2, 3}
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.