On 03.08.2016 15:41, Ethan Furman wrote: > If `a` is global (or nonlocal), then it's legal (the object is > returned, this discarded); otherwise it's a NameError. That's correct but this thread is about declaration.