Final Flashcards
(36 cards)
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
immutable Attribute
Area of memory that stores mutable objects
implementation
Has getter but no setter
inheritance
Object can have method or attribute without being specifically mentioned
interface
Object can have method or attribute without being specifically mentioned
instance
object
invariant
Information user reads to know how to use a Python feature
is
Compares folder names, not contents
isinstance
Compares folder names, not contents
iterable
Type of any value in a for loop