fix
This commit is contained in:
parent
561a0e06a6
commit
fe20f4396c
7 changed files with 31 additions and 24 deletions
|
@ -696,7 +696,7 @@ def my_decorator(func):
|
|||
print("Something is happening before the function is called.")
|
||||
func() # Call the original function
|
||||
print("Something is happening after the function is called.")
|
||||
return wrapper
|
||||
return wrapper
|
||||
|
||||
@my_decorator
|
||||
def say_hello():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue