query: Which two operator overloading methods can you use in your classes to support iteration in python?
positive_passages.docid: 9692
positive_passages.text: Build a basic Python iterator
negative_passages.docid: 31635
negative_passages.text: Overloading Arithmetic Operators in JavaScript?
negative_passages.docid: 131933
negative_passages.text: On the usage of Java equality operator
negative_passages.docid: 65886
negative_passages.text: No implicit conversion in overloaded operator
negative_passages.docid: 48470
negative_passages.text: Integer wrapper class and == operator - where is behavior specified?
negative_passages.docid: 35483
negative_passages.text: Multiple assignment and evaluation order in Python
negative_passages.docid: 145497
negative_passages.text: What does the  operator do in python?
negative_passages.docid: 126217
negative_passages.text: What's the purpose of the + (pos) unary operator in Python?
negative_passages.docid: 110513
negative_passages.text: Using the ternary operator for multiple operations
negative_passages.docid: 26938
negative_passages.text: Way to go from recursion to iteration
negative_passages.docid: 49731
negative_passages.text: Java method call overloading logic
negative_passages.docid: 148586
negative_passages.text: How to overload operator==() for a pointer to the class?
negative_passages.docid: 35116
negative_passages.text: Function overloading by return type?
negative_passages.docid: 122222
negative_passages.text: If an operator is overloaded for a C++ class how could I use a default operator instead?
negative_passages.docid: 140554
negative_passages.text: Post-increment Operator Overloading
negative_passages.docid: 31447
negative_passages.text: How would you overload the [] operator in javascript
negative_passages.docid: 7465
negative_passages.text: Is it possible to implement a Python for range loop without an iterator variable?