query: UnboundLocalError: local variable 'a' referenced before assignment
positive_passages.docid: 12655
positive_passages.text: Don't understand why UnboundLocalError occurs (closure)
negative_passages.docid: 12738
negative_passages.text: Correct Use Of Global Variables In Python 3
negative_passages.docid: 100152
negative_passages.text: Can not increment global variable from function in python
negative_passages.docid: 56984
negative_passages.text: Python Unbound Method TypeError
negative_passages.docid: 20815
negative_passages.text: Assignment of function parameter has no effect outside the function
negative_passages.docid: 87285
negative_passages.text: Is self-initialization 'A a = a;' allowed?
negative_passages.docid: 89331
negative_passages.text: Variable does not exist in the current context?
negative_passages.docid: 9266
negative_passages.text: Why does Chrome debugger think closed local variable is undefined?
negative_passages.docid: 83890
negative_passages.text: Uninitialized values being initialized?
negative_passages.docid: 46205
negative_passages.text: UnboundLocalError with nested function scopes
negative_passages.docid: 26589
negative_passages.text: Simulating a 'local static' variable in python
negative_passages.docid: 1462
negative_passages.text: UnboundLocalError on local variable when reassigned after first use
negative_passages.docid: 38007
negative_passages.text: Python augmented assignment issue
negative_passages.docid: 73866
negative_passages.text: Why must local variables have initial values?
negative_passages.docid: 47481
negative_passages.text: Python: 'str' object is not callable
negative_passages.docid: 75941
negative_passages.text: Initialization of instance fields vs. local variables
negative_passages.docid: 109716
negative_passages.text: How to print value of global variable and local variable having same name?