+ 1

Is it compulsory to use decor only or can i use any other name for a decorator

19th Jan 2017, 2:04 PM
Akshobhya A
Akshobhya A - avatar
2 Answers
+ 2
You can use whatever name you like as long as it is not a keyword
19th Jan 2017, 7:57 PM
Amaras A
Amaras A - avatar
+ 1
Any non-reserved name is OK. Here is an explanation of the decorator usage: https://code.sololearn.com/cD09ijlIS6Ev/?ref=app
7th Jun 2018, 2:13 AM
Denys Yeromenko
Denys Yeromenko - avatar