Skip to content

Commit 626ff20

Browse files
committed
Merge pull request yasoob#93 from FreekKalter/patch-1
fixed decorator example
2 parents 12b8cb2 + 96018a3 commit 626ff20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

decorators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ decorators.
251251
252252
@decorator_name
253253
def func():
254-
print("Function is running")
254+
return("Function is running")
255255
256256
can_run = True
257257
print(func())

0 commit comments

Comments
 (0)