title: Query on local frame and global frame in python Environment
body: <p>From the below program, I understand that local frame(square)(blue colour box) in the below Environment diagram belongs to(nothing but), the local ACTIVATION RECORD of <strong>call</strong>() method of an object of class 'function'. This 'function' class object is created internally when we defined function square(x).</p>
  
  <p><img src="https://i.stack.imgur.com/MIRCq.png" alt="enter image description here"></p>
  
  <p>My question is:</p>
  
  <p>If my understanding is correct above, then to whom(which class object's method) does global frame belong to?  </p>
  
  <p>Because, I feel, the control has been passed from some method of an object(particular class type) to square.<strong>call</strong>(3) method.</p>