Monty @ The Python Coding Place @thepythoncodingplace.com · Mar 22

This data attribute, `.counter`, can also be accessed by the object. Finally, you can finish off `wrapper()`, which is the inner function in `.__call__()`

0 likes 1 replies

?

Replies

Monty @ The Python Coding Place · Mar 22

Here's the same code you used on Day 5 to decorate and test a function–the second part of the code shown. This is identical code to the one in Day 5, but this time you're using the class `limit_uses`