Home | History | Annotate | Download | only in Lib

Lines Matching refs:__set_name__

262     # This is used to support the PEP 487 __set_name__ protocol in the
264 # default value. For details on __set_name__, see
269 # had __set_name__ called on it at the right time.
270 def __set_name__(self, owner, name):
271 func = getattr(type(self.default), '__set_name__', None)
273 # There is a __set_name__ method on the descriptor, call