Check out the Python docs on class special methods (https://docs.python.org/3/reference/datamodel.html)