query: Can I define a __repr__ for a class rather than an instance?
positive_passages.docid: 19149
positive_passages.text: How to create a custom string representation for a class object?
negative_passages.docid: 136392
negative_passages.text: What are the restrictions for method names in Ruby?
negative_passages.docid: 41842
negative_passages.text: Is it possible to avoid repeating the class name in the implementation file?
negative_passages.docid: 133730
negative_passages.text: attr vs attr_accessor
negative_passages.docid: 15930
negative_passages.text: Python Instance Variable as Default Parameter
negative_passages.docid: 137324
negative_passages.text: When monkey patching an instance method, can you call the overridden method from the new implementation?
negative_passages.docid: 73217
negative_passages.text: Is there a way to instantiate a class without calling __init__?
negative_passages.docid: 63258
negative_passages.text: Is there something like python's interactive REPL mode, but for Java?
negative_passages.docid: 143415
negative_passages.text: In Python, can you call an instance method of class A, but pass in an instance of class B?
negative_passages.docid: 87300
negative_passages.text: How to get instance variables in Python?
negative_passages.docid: 1697
negative_passages.text: Are static class variables possible in Python?
negative_passages.docid: 131211
negative_passages.text: What is attr_accessor in Ruby?
negative_passages.docid: 25521
negative_passages.text: Is there a __CLASS__ macro in C++?
negative_passages.docid: 104585
negative_passages.text: How to refer to the outer class in another instance of a non-static inner class?
negative_passages.docid: 138471
negative_passages.text: Why is the Descriptor not getting called when defined as instance attribute?
negative_passages.docid: 18721
negative_passages.text: Can I store a class instance in a $_SESSION space?
negative_passages.docid: 99307
negative_passages.text: How can I safely (and easily) count *all* instances of a class within my program?