Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2e232d1

Browse files
Correction in Comments
1 parent 62937d5 commit 2e232d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎OOP/Polymorphism/MethodOverloading_Achievable.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from multipledispatch import dispatch
77

88
#passing one parameter
9-
@dispatch(int,int) # this is called as `property`
9+
@dispatch(int,int) # this is called as `Decorator`
1010
def product(first,second):
1111
result = first*second
1212
print(result);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /