SpiceQA
Questions
Tags
Users
Badges
magic-methods
48 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
How to use dunder methods for object comparison
user_16356834
0
•
asked Jul 1, 2021
3
2
785
object-comparison
magic-methods
class
oop
python
Equality Comparison with NumPy Instance Invokes `__bool__`
user_7636711
0
•
asked Jun 10, 2021
5
2
113
pandas
magic-methods
numpy
python
Python Data Model, Type Protocols, & Magic Methods
user_8748308
0
•
asked Mar 30, 2021
4
1
162
magic-methods
datamodel
python
Different return types, overloading __add__
user_8560153
0
•
asked Mar 25, 2021
2
1
86
magic-methods
add
python
How is Python's iterator unpacking (star unpacking) implemented (or, what magic methods are involved in unpacking a custom iterator?)
user_10896407
0
•
asked Dec 23, 2020
7
1
404
iterable-unpacking
magic-methods
iterator
python-3.x
python
python: reverse the elements of magic methods that affect operators
user_13140508
0
•
asked Dec 4, 2020
2
3
131
magic-methods
add
python-3.x
python
Can I change the default __add__ method in Python?
user_8913983
0
•
asked Aug 18, 2020
2
2
964
magic-methods
python
Implement abstractmethod using the __getattr__ dunder method
user_9253013
0
•
asked Aug 10, 2020
2
1
378
abstract-methods
abstract-class
magic-methods
interface
python
How can I check if an identifier is dunder or class-private (i.e. will be mangled)?
user_4518341
0
•
asked Jul 12, 2020
4
1
491
name-mangling
identifier
magic-methods
python
overloading arbitrary operator in python
user_13560598
0
•
asked Jul 10, 2020
2
1
207
magic-methods
overloading
numpy
python
Prev
Prev
1
2
(current)
3
4
5
Next
Next
Hot Questions