This lesson is from the Real Python video course by Christopher Bailey.
Section 1 Review
00:00 Up to this point, we’ve been focusing on functions. You started out defining a function—talking about the header, the statement, and calling the function.
00:10 We discussed how a function returns a value based upon its given arguments.
00:18 Then, I showed you how functions are first-class objects. They can be accessed inside of a list or a dictionary.
00:27 That inside of Python, they have a lot of the same properties as other objects. Next, I showed you how you could define functions inside of functions, and how they can be called inside of that function themselves.
00:40 And the last thing that I covered with you was how you could return a function from within a function so that you can access them outside the local scope.
00:50 Congratulations. With all that background covered, you’re ready to talk about decorators.
You must own this product to join the conversation.