Note: I rollbacked the edit from RTM to RTFM because everyone knows what RTFM is (as long as you don't say "read the full manual" loud, it's fine).
The context is this homework question:
Python Set Operations without using loops (for and while) or if
The answer to this question is to use set.intersection
on set #1 passing set #2 as argument. OP knows that the result must be a set
, and looking up Python documentation, one of the key features is intersection
So I wanted to hammer-close as duplicate (and I did) but the duplicate I used (Best way to find the intersection of multiple sets?) is slightly too complex/more general (because it explains how to perform n-set intersection, original OP knowing perfectly how to perform intersection between 2 sets).
Even after all those years, I couldn't find an exact duplicate of this trivial RTFM question (the duplicate I linked to was also a RT-you-know-what question, but requiring reading more than 2 lines of the documentation, so...)
The question has been answered and answer is accepted, but was I right to choose a more complex/general case duplicate? or should have just closed as "unclear" with a RT-whatever comment?
What to do when encountering this kind of question?
intersection
operation onset
s in Python? Sure downvote it; but don't just close it.