diff options
Diffstat (limited to 'examples/samplebinding/main.py')
-rw-r--r-- | examples/samplebinding/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/samplebinding/main.py b/examples/samplebinding/main.py index 135eca12e..144b36933 100644 --- a/examples/samplebinding/main.py +++ b/examples/samplebinding/main.py @@ -45,7 +45,7 @@ from Universe import Icecream, Truck class VanillaChocolateIcecream(Icecream): def __init__(self, flavor=""): - super(VanillaChocolateIcecream, self).__init__(flavor) + super().__init__(flavor) def clone(self): return VanillaChocolateIcecream(self.getFlavor()) @@ -55,7 +55,7 @@ class VanillaChocolateIcecream(Icecream): class VanillaChocolateCherryIcecream(VanillaChocolateIcecream): def __init__(self, flavor=""): - super(VanillaChocolateIcecream, self).__init__(flavor) + super().__init__(flavor) def clone(self): return VanillaChocolateCherryIcecream(self.getFlavor()) |