/external/python/cpython3/Lib/test/ |
D | test_subclassinit.py | 105 def __set_name__(self, owner, name): member in Test.test_set_name.Descriptor 124 def __set_name__(self, owner, name): member in Test.test_set_name_metaclass.Descriptor 134 def __set_name__(self, owner, name): member in Test.test_set_name_error.Descriptor 149 def __set_name__(self): member in Test.test_set_name_wrong.Descriptor 176 def __set_name__(self, owner, name): member in Test.test_set_name_init_subclass.Descriptor 203 def __set_name__(self, owner, name): member in Test.test_set_name_modifying_dict.Descriptor
|
D | test_dataclasses.py | 2740 def __set_name__(self, owner, name): member in TestDescriptors.test_set_name.D 2768 def __set_name__(self, owner, name): member in TestDescriptors.test_non_descriptor.D 2783 d.__set_name__ = Mock() 2790 self.assertEqual(d.__set_name__.call_count, 0) 2796 D.__set_name__ = Mock() 2803 self.assertEqual(D.__set_name__.call_count, 1)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0rc1.rst | 19 Modifying the class __dict__ inside the __set_name__ method of a descriptor 20 that is used inside that class no longer prevents calling the __set_name__
|
D | 3.7.0b4.rst | 247 In dataclasses, Field.__set_name__ now looks up the __set_name__ special
|
D | 3.7.0b3.rst | 110 Have Field objects pass through __set_name__ to their default values, if 111 they have their own __set_name__.
|
D | 3.6.0b3.rst | 46 Improved exception reporting for problematic __set_name__ attributes.
|
D | 3.6.0a4.rst | 127 Descriptors are initialized with __set_name__ after class creation.
|
D | 3.6.0b2.rst | 161 Now __set_name__ is looked up on the class instead of the instance.
|
D | 3.7.0a1.rst | 1032 Modifying the class __dict__ inside the __set_name__ method of a descriptor 1033 that is used inside that class no longer prevents calling the __set_name__ 1233 Improved exception reporting for problematic __set_name__ attributes. 1406 Now __set_name__ is looked up on the class instead of the instance.
|
D | 3.8.0a1.rst | 5291 In dataclasses, Field.__set_name__ now looks up the __set_name__ special 5311 Have Field objects pass through __set_name__ to their default values, if 5312 they have their own __set_name__.
|
/external/python/cpython3/Tools/c-analyzer/c_analyzer/common/ |
D | util.py | 95 def __set_name__(self, cls, name): member in Slot 171 def __set_name__(self, cls, name): member in classonly
|
/external/python/cpython3/Doc/howto/ |
D | descriptor.rst | 220 callback to :meth:`__set_name__` in *LoggedAccess* so that the field names can 231 def __set_name__(self, owner, name): 257 :meth:`__set_name__` so that the field names would be recorded. Here 298 Optionally, descriptors can have a :meth:`__set_name__` method. This is only 347 def __set_name__(self, owner, name): 783 and if they define :meth:`__set_name__`, that method is called with two 792 afterwards, :meth:`__set_name__` will need to be called manually. 810 def __set_name__(self, owner, name):
|
/external/python/cpython3/Lib/ |
D | dataclasses.py | 281 def __set_name__(self, owner, name): member in Field
|
D | functools.py | 940 def __set_name__(self, owner, name): member in cached_property
|
/external/python/cpython3/Doc/reference/ |
D | datamodel.rst | 1706 .. method:: object.__set_name__(self, owner, name) 1713 :meth:`__set_name__` is only called implicitly as part of the 1722 descr.__set_name__(A, 'attr') 2069 namespace that define a :meth:`~object.__set_name__` method; 2070 * second, all of these ``__set_name__`` methods are called with the class
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.6.rst | 367 :meth:`~object.__set_name__` method. Whenever a new class is defined, the new 384 def __set_name__(self, owner, name):
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 434 Objects/typeobject.c:PyId___set_name__ _Py_IDENTIFIER(__set_name__)
|
D | known.tsv | 1358 Objects/typeobject.c - PyId___set_name__ variable _Py_IDENTIFIER(__set_name__)
|
/external/python/cpython3/Objects/ |
D | typeobject.c | 80 _Py_IDENTIFIER(__set_name__);
|