Final Flashcards
Accumulator
stores information in a for loop that can be used later
Attribute
variable stored inside object
Bottom up rule
uses first attribute or method definition it can find. object to class folder
call frame
representation of executing a function call
call stack
all call frames of executing function call
class
type not built into python
class definition
defines class, w attributes and methods
constructor
function that creates an object for a class
default argument
value given to parameter
encapsulation
hiding parts of data and implementation from users
exception
hiding parts of data and implementation from users
getter
Object that stores stack trace
generator
Function for creating iterable
global space
Stores any variable not defined in body of function
heap
Stores any variable not defined in body of function