query: Overloading __init__() method results in error
positive_passages.docid: 35006
positive_passages.text: How to overload __init__ method based on argument type?
negative_passages.docid: 127313
negative_passages.text: TypeError: module.__init__() takes at most 2 arguments (3 given)
negative_passages.docid: 138356
negative_passages.text: Decorating Python class methods - how do I pass the instance to the decorator?
negative_passages.docid: 69282
negative_passages.text: TypeError: unsupported operand type(s) for -: 'str' and 'int'
negative_passages.docid: 78845
negative_passages.text: Attribute to generate compilation error on method call?
negative_passages.docid: 46038
negative_passages.text: Why are my struct's members not properly initialised using `{}`?
negative_passages.docid: 105287
negative_passages.text: (Why) is using an uninitialized variable undefined behavior?
negative_passages.docid: 4622
negative_passages.text: How do I decorate an instance method with another class in Python 2.7?
negative_passages.docid: 22911
negative_passages.text: method overloading from parent class vs. overriding
negative_passages.docid: 88332
negative_passages.text: Why does 1.__add__(1) yield a syntax error?
negative_passages.docid: 100770
negative_passages.text: Initializing members with members
negative_passages.docid: 52809
negative_passages.text: C++ compiler error: ambiguous call to overloaded function
negative_passages.docid: 411
negative_passages.text: What is a wrapper_descriptor, and why is Foo.__init__() one in this case?
negative_passages.docid: 28039
negative_passages.text: Why can't I inherit from dict AND Exception in Python?
negative_passages.docid: 135513
negative_passages.text: How to initialize struct/class on the global scope
negative_passages.docid: 118541
negative_passages.text: How to pass a default argument value of an instance member to a method?
negative_passages.docid: 5938
negative_passages.text: Are multiple mutations within initializer lists undefined behavior?