Aigars Aigars schrieb:
Good day all,

I am learning Python and came up to decorators.

The question is: Why does function FoodList return value None?

The code in attachment.

Because the __call__ in Logger doesn't return the value of self.func.

Diez
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to