Completed
Same goes for **kwargs
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Function Dissection Lab - Learn How Functions Work
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 I teach Python
- 3 Consider this code
- 4 Function objects? . When you use def. you create a function object.
- 5 Example
- 6 Error messages use this info
- 7 Additional variables
- 8 So, how does Python know?
- 9 Same goes for **kwargs
- 10 dis.show_code
- 11 Constants?
- 12 When Python calls a function...
- 13 Consider this function
- 14 Let's add a default
- 15 Keyword-only arguments
- 16 Where does Python put that?
- 17 Let's talk about scoping
- 18 How does Python know x isn't local?
- 19 Let's make things more complex
- 20 A more common version of this problem
- 21 The "global" declaration
- 22 Bytecodes with a local"X"
- 23 Putting the "E" in LEGB
- 24 What have we learned?
- 25 Questions or comments?