query: Python: UnboundLocalError: local variable 'n' referenced before assignment
positive_passages.docid: 1462
positive_passages.text: UnboundLocalError on local variable when reassigned after first use
negative_passages.docid: 38437
negative_passages.text: Python dictionary comprehension using locals() gives KeyError
negative_passages.docid: 120124
negative_passages.text: Undefined values in Array(len) initializer
negative_passages.docid: 18605
negative_passages.text: Local variables in nested functions
negative_passages.docid: 33125
negative_passages.text: Unbound Local Error with global variable
negative_passages.docid: 93906
negative_passages.text: Modify the function variables from inner function in python
negative_passages.docid: 80225
negative_passages.text: Why is my global variable shadowed before the local declaration?
negative_passages.docid: 132476
negative_passages.text: How to set Block local variables by code?
negative_passages.docid: 86496
negative_passages.text: Python function NameError
negative_passages.docid: 131376
negative_passages.text: Module and Local variable
negative_passages.docid: 89991
negative_passages.text: I don't understand slicing with negative bounds in Python. How is this supposed to work?
negative_passages.docid: 46960
negative_passages.text: error with inner class object
negative_passages.docid: 128203
negative_passages.text: Python global variable scoping
negative_passages.docid: 2266
negative_passages.text: Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?
negative_passages.docid: 45856
negative_passages.text: UnboundLocalError: local variable 'url_request' referenced before assignment
negative_passages.docid: 12683
negative_passages.text: How to access a local variable from a different function using pointers?
negative_passages.docid: 81478
negative_passages.text: Setting local variables to a function instead of using globals optimize the function