+ 1
How does the @ actually works for 'decorations' in python?
I wrote down some code.. https://code.sololearn.com/co4lEqL1vH4T/?ref=app I don't fully understand why the function is called without 'been called'
1 Odpowiedź
+ 7
https://www.sololearn.com/discuss/569800/?ref=ap
https://www.sololearn.com/discuss/2337826/?ref=app
https://www.sololearn.com/discuss/2256608/?ref=app
https://www.sololearn.com/discuss/2286952/?ref=app
https://www.sololearn.com/discuss/3104610/?ref=app
https://www.sololearn.com/discuss/632473/?ref=app
https://www.sololearn.com/discuss/59729/?ref=app
https://www.sololearn.com/discuss/44114/?ref=app
https://www.sololearn.com/discuss/1229441/?ref=app
https://www.sololearn.com/discuss/2868799/?ref=app
https://www.sololearn.com/discuss/552607/?ref=app
https://www.sololearn.com/discuss/2951863/?ref=app
https://www.sololearn.com/discuss/3106419/?ref=app
https://www.sololearn.com/discuss/23390/?ref=app
https://www.sololearn.com/discuss/639702/?ref=app
https://www.sololearn.com/discuss/1756410/?ref=app
https://www.sololearn.com/discuss/1595897/?ref=app
https://www.sololearn.com/discuss/1140080/?ref=app
https://www.sololearn.com/discuss/2450305/?ref=app
https://www.so