Why does use of a variable in a lower scope change how a variable is resolved in a higher scope?

前端 未结 0 1744
自闭症患者
自闭症患者 2021-01-02 03:12

I have a trivial function that returns its argument, and the value is obtained using cpython\'s LOAD_FAST instruction.

def function1(n):
    retu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题