set.intersection help suggests 2 sets, while any number > 0 is supported
Đang mở
@rhettinger đang làm issue này rồi.
Từ ngày 3/12/2022.
docs
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
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}
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.