code: def override(self, value):
          
          if self._value is not value:
              return _ScopedValueOverrideContext(self, value)
          else:
              return empty_context
docs: Temporarily overrides the old value with the new one.