Search code examples
Equality Comparison with NumPy Instance Invokes `__bool__`...


pythonpandasnumpymagic-methods

Read More
What is the difference between using magic method of a class with following syntaxes in Python: meth...


pythonclasssyntaxclass-methodmagic-methods

Read More
Can a class instance return tuple without using attribute?...


pythonvectormagic-methods

Read More
why can a class call a magic method from another class?...


pythonpython-3.xconstructormagic-methods

Read More
Python - detect asterisk (*) during function call...


pythonslicemagic-methods

Read More
Bracket assignment in Python...


pythonattributesoperator-overloadingvariable-assignmentmagic-methods

Read More
How to make a Python class properties accesible by index?...


pythonmagic-methodspython-classpython-object

Read More
Different return types, overloading __add__...


pythonadditionmagic-methods

Read More
What is the __dict__.__dict__ attribute of a Python class?...


pythonclassmetaprogrammingmagic-methods

Read More
PHP 5.3 Magic Method __invoke...


phpoopmagic-methods

Read More
Set contains for user defined classes using __hash__ function...


pythonhashsetpython-internalsmagic-methods

Read More
len() vs __len__: TypeError: 'float' object cannot be interpreted as an integer...


pythonsumtypeerrormagic-methodsvariable-length

Read More
python: reverse the elements of magic methods that affect operators...


pythonpython-3.xadditionmagic-methods

Read More
What is the real purpose of magic method __set_state in PHP?...


phpmagic-methods

Read More
use a Magic Methods in an other Magic Methods...


pythonpython-3.xmagic-methods

Read More
Class comparisons (like __ge__) without functools total_ordering...


pythonclassmagic-methods

Read More
Does “if” have implicit access to a class’s special methods even when they are not directly called?...


pythonoopif-statementbooleanmagic-methods

Read More
Magic Methods __Call doesn't work well with multiple arguments...


phpmagic-methods

Read More
How is Python's iterator unpacking (star unpacking) implemented (or, what magic methods are invo...


pythonpython-3.xiteratormagic-methodsiterable-unpacking

Read More
What use is there for defining magic methods outside of a class?...


pythonstringclassmodulemagic-methods

Read More
Must I override integer __add__ method to support addition of an integer and object?...


pythonadditionmagic-methods

Read More
Python data model / internal methods...


pythonpython-3.xclasstypesmagic-methods

Read More
Class __str__ magic-methods...


pythonclassmagic-methods

Read More
Fatal error: Declaration of Foo::__toString(): void must be compatible with Stringable::__toString()...


phpmagic-methodsphp-8

Read More
__getitem__, __setitem__ multiple keys...


pythonclassmagic-methodsdatamodel

Read More
Is there a way to return a custom value for min and max in Python?...


pythonpython-3.xmagic-methods

Read More
referencing __init__.__kwdefaults__ vs explicitly writing a dictionary...


pythondictionarymagic-methods

Read More
Can I change the default __add__ method in Python?...


pythonmagic-methods

Read More
autosummary generated documentation missing all dunder methods except for `__init__`...


pythonpython-sphinxmagic-methods

Read More
__dict__ Attribute of Ultimate Base Class, object in Python...


pythondictionarymagic-methods

Read More
BackNext