environment/lib/python2.7/site-packages/IPython/utils/autoattr.py
def reset(self):
      """Reset all OneTimeProperty attributes that may have fired already."""
      instdict = self.__dict__
      classdict = self.__class__.__dict__
      # To reset them, we simply remove them from the instance dict.  At that
      # point, it's as if they had never been computed.  On the next access,
      # the accessor function from the parent class will be called, simply
      # because that's how the python descriptor protocol works.
      for mname, mval in classdict.items():
         if mname in instdict and isinstance(mval, OneTimeProperty):
            delattr(self, mname)
def reset(self):
      instdict = self.__dict__
      classdict = self.__class__.__dict__
      # To reset them, we simply remove them from the instance dict.  At that
      # point, it's as if they had never been computed.  On the next access,
      # the accessor function from the parent class will be called, simply
      # because that's how the python descriptor protocol works.
      for mname, mval in classdict.items():
         if mname in instdict and isinstance(mval, OneTimeProperty):
            delattr(self, mname)
def reset ( self ) : instdict = self . __dict__ classdict = self . __class__ . __dict__ # To reset them, we simply remove them from the instance dict.  At that # point, it's as if they had never been computed.  On the next access, # the accessor function from the parent class will be called, simply # because that's how the python descriptor protocol works. for mname , mval in classdict . items ( ) : if mname in instdict and isinstance ( mval , OneTimeProperty ) : delattr ( self , mname )
Reset all OneTimeProperty attributes that may have fired already.
Reset all OneTimeProperty attributes that may have fired already .