summary refs log blame commit diff stats
path: root/test/stuff/test5.py
blob: 682a716f84458fc41fe1c96e3629db0060abc50e (plain) (tree)
























                                   
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()