Skip to content

Commit 104dbaa

Browse files
committed
Decorators return a closure. A closure is what is returned by a decorator.
Basically, a decorator takes in a function, adds some functionality and returns it.
1 parent cd582ac commit 104dbaa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

codechallenge_125.py

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
44
Basically, a decorator takes in a function, adds some functionality and returns it.
55
6+
7+
Work-in-progress!!!
68
'''
79

810
class Solution:

0 commit comments

Comments
 (0)