Skip to content Skip to sidebar Skip to footer
Showing posts with the label Overloading

What Would Be The Python Equivalent Of Type-wise Overloading?

To my knowledge, there are two types of overloading, one based on number of arguments, and one base… Read more What Would Be The Python Equivalent Of Type-wise Overloading?

How To Overload `float()` For A Custom Class In Python?

Summary How can I overload the built-in float for my class so when I call float() on an instance of… Read more How To Overload `float()` For A Custom Class In Python?