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

Error While Rewriting __repr__ 'typeerror-expected 0 Arguments, Got 1'

I have an error while debugging the following code by figuring out the usage of __repr__. class nod… Read more Error While Rewriting __repr__ 'typeerror-expected 0 Arguments, Got 1'

Correct Way To Write __repr__ Function With Inheritance

I'm experimenting with OOP python and I wasn't sure about the __repr__ function inheritance… Read more Correct Way To Write __repr__ Function With Inheritance