diff options
Diffstat (limited to 'test5.py')
-rw-r--r-- | test5.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/test5.py b/test5.py deleted file mode 100644 index 682a716f..00000000 --- a/test5.py +++ /dev/null @@ -1,26 +0,0 @@ -class A: - def foo(self, x): - y = x + 1 - print(y) - return y - - @staticmethod - def zar(): - print("l o l") - -class B(A): - def bar(self, x): - y = self.foo(x) + 3 - print(y) - return y - -class C(): - def foo(self, x): - y = x - 1 - print(y) - return y - -a = C() -A.foo(a, 5) - -B.zar() |