▲ | bigstrat2003 5 months ago | |
It most certainly does. > Congratulations! You wrote your first decorator. Even if it looks different to what you think a decorator should look like—you usually see them used with the @ notation, which we'll discuss in Part 3—store_arguments() is a decorator. And: > A decorator is a function that accepts another function as an argument and returns yet another function. The function it returns is a decorated version of the function you pass as an argument. (We'll return to this definition and refine it later in this decorator journey) I have no idea why you are claiming something that is plainly false based on the text of the article. |