Binding associates an identifier with the program entity or value it denotes. In Python, assigning a value makes a variable available; initialize it when later code may need it, since an unassigned variable cannot be resolved. Reassigning the same variable can give it a value of a different type. section 5.4.5 section 6.3.1
Keep these distinctions in mind:
- Type hints annotate variables but do not enforce their types; a different type can still be assigned. section 6.3.1
- A function’s local variables can be inspected in the debugger with `p` or `locals()`. section 13.2.4
(Pdb) locals()
{'inject_bug': True, 'task_text': 'Laundry,3#', 'title':
'Laundry', 'urgency_text': '3#'}
Inspecting the local namespace shows the variables and values available inside the function. section 13.2.4










