May-31-2021, 12:56 PM
Your arbitrary class is named Object1, whereas D is declared to be of class Object. Add a 1.
Also that is way too close to a Python reserved word. Suggest using something like my_object so a typo like happened here is easier to pick up.
Also that is way too close to a Python reserved word. Suggest using something like my_object so a typo like happened here is easier to pick up.