query: How Do I fix an UnboundLocalError in Python 3?
positive_passages.docid: 951
positive_passages.text: Using global variables in a function
negative_passages.docid: 131997
negative_passages.text: When and how should I use a ThreadLocal variable?
negative_passages.docid: 480
negative_passages.text: What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it?
negative_passages.docid: 33125
negative_passages.text: Unbound Local Error with global variable
negative_passages.docid: 42696
negative_passages.text: How to use unsupported Locale in Java
negative_passages.docid: 67487
negative_passages.text: Javascript equivalent of Python's locals()?
negative_passages.docid: 12655
negative_passages.text: Don't understand why UnboundLocalError occurs (closure)
negative_passages.docid: 82423
negative_passages.text: java.lang.StringIndexOutOfBoundsException: String index out of range
negative_passages.docid: 66916
negative_passages.text: Expressions containing globally undefined symbols inside a function where they are defined
negative_passages.docid: 95648
negative_passages.text: TypeError: 'list' object is not callable while trying to access a list
negative_passages.docid: 66480
negative_passages.text: Bash 'unbound variable' error when variables are referenced in multiline comment (set -u)
negative_passages.docid: 30914
negative_passages.text: Unbound variable and name
negative_passages.docid: 20824
negative_passages.text: How to sort text in sqlite3 with specified locale?
negative_passages.docid: 127540
negative_passages.text: Is it possible to access a function local variable from outside of the function?
negative_passages.docid: 9647
negative_passages.text: GeographyFromText and ST_SetSRID+ST_MakePoint different results?
negative_passages.docid: 97008
negative_passages.text: Returning a function built with local (block) variables
negative_passages.docid: 4650
negative_passages.text: Why does substring slicing with index out of range work?