query: python variable scope in function
positive_passages.docid: 1462
positive_passages.text: UnboundLocalError on local variable when reassigned after first use
negative_passages.docid: 58982
negative_passages.text: to Global Variables inside functions
negative_passages.docid: 48128
negative_passages.text: Declaring variables inside or outside of a loop
negative_passages.docid: 79873
negative_passages.text: Accessing variables from other functions without using global variables
negative_passages.docid: 46205
negative_passages.text: UnboundLocalError with nested function scopes
negative_passages.docid: 99196
negative_passages.text: How can I access local scope dynamically in javascript?
negative_passages.docid: 48919
negative_passages.text: Passing variable number of arguments around
negative_passages.docid: 951
negative_passages.text: Using global variables in a function
negative_passages.docid: 131376
negative_passages.text: Module and Local variable
negative_passages.docid: 99859
negative_passages.text: What is the difference between def func(var) and def func=(var)?
negative_passages.docid: 116741
negative_passages.text: How do I return a variable from a block inside a method?
negative_passages.docid: 49943
negative_passages.text: Javascript function scoping and hoisting
negative_passages.docid: 143922
negative_passages.text: How can I use function's parameter in it?
negative_passages.docid: 133111
negative_passages.text: How do I share variables between two functions?
negative_passages.docid: 7167
negative_passages.text: difference between variables inside and outside of __init__()
negative_passages.docid: 75437
negative_passages.text: Objective-C Blocks and variable scope
negative_passages.docid: 104235
negative_passages.text: Declaring variables within FOR loops