When having an expression that spans over more than one line the compiler might evaluate the expression while avoiding parts of the expression. We can overcome this problem in two ways. This video clip explains this issue.

My Talk about Decorators in PyCon IL 2025
PyCon IL 2025 took place on September 9, 2025. It was a marvelous celebration for Python developers in the Israeli community.