What is the difference between using the intersection() method or the & operator on python sets. I read about how in previous versions the arguments to & had to be a set and not just any iterable although that seems to be no longer the case.
Is there a difference in terms of semantics, constraints, performance or simply pythonic style?
The methods can be bound to names for later use, whereas the operators can be replaced by the operations in the
operatormodule for the purpose of larger abstraction.