diff options
Diffstat (limited to 'artima/python/super_horrors.py')
-rw-r--r-- | artima/python/super_horrors.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/artima/python/super_horrors.py b/artima/python/super_horrors.py new file mode 100644 index 0000000..400cbb9 --- /dev/null +++ b/artima/python/super_horrors.py @@ -0,0 +1,9 @@ +def super(): + print("I am evil, you are NOT calling the supermethod!") + +class C(object): + def __init__(self): + super().__init__() + +if __name__ == '__main__': + c = C() # prints "I am evil, you are NOT calling the supermethod!" |