query: Python Script returns unintended "None" after execution of a function
positive_passages.docid: 120664
positive_passages.text: Function returns None without return statement
negative_passages.docid: 134603
negative_passages.text: Why doesn't a Javascript return statement work when the return value is on a new line?
negative_passages.docid: 88543
negative_passages.text: Why does this work in the Python IDLE shell but not when I run it as a Python script from the command prompt?
negative_passages.docid: 87653
negative_passages.text: How to disable pylint 'Undefined variable' error for a specific variable in a file?
negative_passages.docid: 103123
negative_passages.text: What does the function invisible() do?
negative_passages.docid: 124865
negative_passages.text: Why do I get AttributeError: 'NoneType' object has no attribute 'something'?
negative_passages.docid: 13477
negative_passages.text: How is returning the output of a function different from printing it?
negative_passages.docid: 121296
negative_passages.text: How to pass the value 'undefined' to a function with multiple parameters?
negative_passages.docid: 22064
negative_passages.text: What's a standard way to do a no-op in python?
negative_passages.docid: 50633
negative_passages.text: What does Python's eval() do?
negative_passages.docid: 123395
negative_passages.text: Why does this python dictionary get created out of order using setdefault()?
negative_passages.docid: 74359
negative_passages.text: How would I skip optional arguments in a function call?
negative_passages.docid: 37773
negative_passages.text: How do I detect whether a Python variable is a function?
negative_passages.docid: 38289
negative_passages.text: How to undo a \def (i.e., Need a \undef capability)
negative_passages.docid: 129354
negative_passages.text: What is the pythonic way to avoid default parameters that are empty lists?
negative_passages.docid: 19252
negative_passages.text: Determine original name of variable after its passed to a function
negative_passages.docid: 94789
negative_passages.text: Tkinter: AttributeError: NoneType object has no attribute