mirror of
https://github.com/Asabeneh/30-Days-Of-Python.git
synced 2026-06-12 21:01:48 +08:00
revert the comment
This commit is contained in:
parent
adaf4583dc
commit
135ef95167
@ -182,7 +182,7 @@ def split_string_decorator(function):
|
||||
|
||||
#Decorators will be executed from bottom to top
|
||||
@split_string_decorator
|
||||
@uppercase_decorator
|
||||
@uppercase_decorator # order with decorators is important in this case - .upper() function does not work with lists
|
||||
def greeting():
|
||||
return 'Welcome to Python'
|
||||
print(greeting()) # ['WELCOME', 'TO', 'PYTHON']
|
||||
|
||||
Loading…
Reference in New Issue
Block a user