There was an error while loading. Please reload this page.
1 parent 62937d5 commit 2e232d1Copy full SHA for 2e232d1
OOP/Polymorphism/MethodOverloading_Achievable.py
@@ -6,7 +6,7 @@
6
from multipledispatch import dispatch
7
8
#passing one parameter
9
-@dispatch(int,int) # this is called as `property`
+@dispatch(int,int) # this is called as `Decorator`
10
def product(first,second):
11
result = first*second
12
print(result);
0 commit comments