Re: mro and super don't feel so pythonic

April 13, 2022
4:24 a.m.
On Wed, 13 Apr 2022 at 15:02, Ganesh B <ganeshsurfs@gmail.com> wrote:
I hope nicer on the code text please.
Sure. Sorry about that. malmiteria's "lib" code is ``` class HighGobelin: def scream(self): print("raAaaaAar") class CorruptedGobelin(HighGobelin): def scream(self): print("my corrupted soul makes me wanna scream") super().scream() class ProudGobelin(HighGobelin): def scream(self): print("I ... can't ... contain my scream!") super().scream() ``` Best regards, Takuo Matsuoka
1071
Age (days ago)
1071
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matsuoka Takuo