/third_party/python/Lib/ctypes/test/ |
D | test_struct_fields.py | 63 MyCStruct.field.__set__, 'wrong type self', 42) 68 MyCUnion.field.__set__, 'wrong type self', 42)
|
/third_party/python/Lib/ |
D | ssl.py | 603 super(SSLContext, SSLContext).minimum_version.__set__(self, value) 611 super(SSLContext, SSLContext).maximum_version.__set__(self, value) 619 super(SSLContext, SSLContext).options.__set__(self, value) 680 super(SSLContext, SSLContext)._msg_callback.__set__(self, None) 713 super(SSLContext, SSLContext)._msg_callback.__set__(self, inner) 725 super(SSLContext, SSLContext).verify_flags.__set__(self, value) 737 super(SSLContext, SSLContext).verify_mode.__set__(self, value)
|
D | types.py | 185 def __set__(self, instance, value): member in DynamicClassAttribute
|
/third_party/python/Lib/test/ |
D | test_opcache.py | 21 Descriptor.__set__ = lambda *args: None
|
D | audit-tests.py | 175 type.__dict__["__bases__"].__set__(C, (B,))
|
D | test_descr.py | 1405 self.assertRaises(TypeError, MyABC.a.__set__, u, 3) 1733 def __set__(self, obj, value): member in ClassPropertiesAndMethods.test_compattr.C.computed_attribute 2262 C.x.__set__(a, 100) 3370 dict_descr.__set__(x, {}) 4638 def __set__(self, obj, value): member in ClassPropertiesAndMethods.test_set_and_no_get.Descr 4774 type(list).__dict__["__doc__"].__set__(list, "blah") 4804 self.assertRaises(TypeError, type.__dict__['__qualname__'].__set__,
|
D | test_inspect.py | 821 def __set__(*args): member in _BrokenDataDescriptor 1413 def __set__(self, name, value): pass member in TestIsDataDescriptor.test_custom_descriptors.DataDescriptor0 1417 __set__ = None variable in TestIsDataDescriptor.test_custom_descriptors.DataDescriptor2 1962 descriptor.__set__ = lambda s, i, v: None
|
D | test_pydoc.py | 1277 def __set__(self, obj, cls): member in TestDescriptions.test_custom_data_descriptor.Descr
|
D | test_collections.py | 677 self.assertRaises(AttributeError, Point.x.__set__, p, 33)
|
/third_party/python/Doc/howto/ |
D | descriptor.rst | 136 descriptor's :meth:`__get__` and :meth:`__set__` methods are triggered when 156 def __set__(self, obj, value): 166 self.age = age # Calls __set__() 169 self.age += 1 # Calls both __get__() and __set__() 240 def __set__(self, obj, value): 298 :meth:`__set__`, or :meth:`__delete__`. 355 def __set__(self, obj, value): 501 the descriptor protocol. Those methods are :meth:`__get__`, :meth:`__set__`, 526 ``descr.__set__(self, obj, value) -> None`` 534 If an object defines :meth:`__set__` or :meth:`__delete__`, it is considered [all …]
|
/third_party/python/Tools/c-analyzer/c_common/ |
D | clsutil.py | 59 def __set__(self, obj, value): member in Slot
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 1731 .. method:: object.__set__(self, instance, value) 1736 Note, adding :meth:`__set__` or :meth:`__delete__` changes the kind of 1760 protocol: :meth:`~object.__get__`, :meth:`~object.__set__`, and 1797 of :meth:`~object.__get__`, :meth:`~object.__set__` and 1801 the descriptor defines :meth:`__set__` and/or :meth:`__delete__`, it is a data 1803 descriptors define both :meth:`__get__` and :meth:`__set__`, while non-data 1805 :meth:`__get__` and :meth:`__set__` (and/or :meth:`__delete__`) defined always override a redefinit…
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testhelpers.py | 893 def __set__(self, obj, value): pass member in SpecSignatureTest.test_autospec_data_descriptor.Descriptor
|
/third_party/python/Doc/library/ |
D | inspect.rst | 427 has a :meth:`~object.__get__` method but not a :meth:`~object.__set__` 442 Data descriptors have a :attr:`~object.__set__` or a :attr:`~object.__delete__` method.
|
D | unittest.mock.rst | 823 :class:`PropertyMock` provides :meth:`__get__` and :meth:`__set__` methods 2028 * Descriptor methods: ``__get__``, ``__set__`` and ``__delete__`` 2164 * ``__get__``, ``__set__`` and ``__delete__``
|
/third_party/python/Doc/extending/ |
D | newtypes.rst | 335 returns \NULL{} and sets an exception. The \method{__set__()} handler is
|
/third_party/python/Lib/unittest/ |
D | mock.py | 2907 def __set__(self, obj, val): member in PropertyMock
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 456 Objects/typeobject.c:slot_tp_descr_set():PyId___set__ _Py_IDENTIFIER(__set__)
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 3056 unittest_pb2.TestAllTypes.optional_int32.__set__(msg, 25)
|
/third_party/python/Doc/ |
D | glossary.rst | 308 Any object which defines the methods :meth:`__get__`, :meth:`__set__`, or
|
/third_party/python/Doc/whatsnew/ |
D | 2.2.rst | 179 * ``__set__(object, value)`` sets the attribute on *object* to *value*.
|
D | 3.6.rst | 378 def __set__(self, instance, value):
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 117 …| :c:member:`~PyTypeObject.tp_descr_set` | :c:type:`descrsetfunc` | __set__, …
|
/third_party/python/Objects/ |
D | typeobject.c | 7695 _Py_IDENTIFIER(__set__); in slot_tp_descr_set()
|
/third_party/python/Misc/NEWS.d/ |
D | 3.8.0a1.rst | 4840 Correct ``inspect.isdatadescriptor`` to look for ``__set__`` or
|