code: def iter(self, name):
          '''
          Iterate through values added with add() from each scope frame.
          '''
          for frame in self.frames:
              vals = frame.get(name)
              if vals is None:
                  continue
              for valu in vals:
                  yield valf iter(self, name):
          '''
          Iterate through values added with add() from each scope frame.
          '''
          for frame in self.frames:
              vals = frame.get(name)
              if vals is None:
                  continue
              for valu in vals:
                  yield valu
docs: Iterate through values added with add() from each scope frame.