Skip to content

Commit 6b9608d

Browse files
committed
Merge pull request yasoob#62 from metasyn/patch-1
a_function_requiring_decoration() - correct output
2 parents acfd2ed + 19026fe commit 6b9608d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

decorators.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ run the previous code sample using @.
190190
"remove my foul smell")
191191
192192
a_function_requiring_decoration()
193-
#outputs: I am doing some boring work before executing a_function_requiring_decoration()
193+
#outputs: I am doing some boring work before executing a_func()
194194
# I am the function which needs some decoration to remove my foul smell
195-
# I am doing some boring work after executing a_function_requiring_decoration()
195+
# I am doing some boring work after executing a_func()
196196
197197
#the @a_new_decorator is just a short way of saying:
198198
a_function_requiring_decoration = a_new_decorator(a_function_requiring_decoration)

0 commit comments

Comments
 (0)