This commit is contained in:
JMARyA 2024-02-27 11:06:13 +01:00
parent 561a0e06a6
commit fe20f4396c
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
7 changed files with 31 additions and 24 deletions

View file

@ -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():