It could be used within functions. Currently __name__ is masked by the function's __name__ attribute if you try that.