Home
last modified time | relevance | path

Searched refs:__set__ (Results 1 – 25 of 31) sorted by relevance

12

/third_party/python/Lib/ctypes/test/
Dtest_struct_fields.py55 MyCStruct.field.__set__, 'wrong type self', 42)
60 MyCUnion.field.__set__, 'wrong type self', 42)
/third_party/python/Lib/
Dssl.py586 super(SSLContext, SSLContext).minimum_version.__set__(self, value)
594 super(SSLContext, SSLContext).maximum_version.__set__(self, value)
602 super(SSLContext, SSLContext).options.__set__(self, value)
663 super(SSLContext, SSLContext)._msg_callback.__set__(self, None)
696 super(SSLContext, SSLContext)._msg_callback.__set__(self, inner)
708 super(SSLContext, SSLContext).verify_flags.__set__(self, value)
720 super(SSLContext, SSLContext).verify_mode.__set__(self, value)
Dtypes.py180 def __set__(self, instance, value): member in DynamicClassAttribute
/third_party/python/Doc/howto/
Ddescriptor.rst136 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):
296 :meth:`__set__`, or :meth:`__delete__`.
353 def __set__(self, obj, value):
499 the descriptor protocol. Those methods are :meth:`__get__`, :meth:`__set__`,
524 ``descr.__set__(self, obj, value) -> None``
532 If an object defines :meth:`__set__` or :meth:`__delete__`, it is considered
[all …]
/third_party/python/Tools/c-analyzer/c_analyzer/common/
Dutil.py122 def __set__(self, obj, value): member in Slot
/third_party/python/Lib/test/
Daudit-tests.py148 type.__dict__["__bases__"].__set__(C, (B,))
Dtest_descr.py1399 self.assertRaises(TypeError, MyABC.a.__set__, u, 3)
1719 def __set__(self, obj, value): member in ClassPropertiesAndMethods.test_compattr.C.computed_attribute
2248 C.x.__set__(a, 100)
3358 dict_descr.__set__(x, {})
4589 def __set__(self, obj, value): member in ClassPropertiesAndMethods.test_set_and_no_get.Descr
4724 type(list).__dict__["__doc__"].__set__(list, "blah")
4753 self.assertRaises(TypeError, type.__dict__['__qualname__'].__set__,
Dtest_inspect.py796 def __set__(*args): member in _BrokenDataDescriptor
1288 def __set__(self, name, value): pass member in TestIsDataDescriptor.test_custom_descriptors.DataDescriptor0
1292 __set__ = None variable in TestIsDataDescriptor.test_custom_descriptors.DataDescriptor2
1837 descriptor.__set__ = lambda s, i, v: None
Dtest_pydoc.py1275 def __set__(self, obj, cls): member in TestDescriptions.test_custom_data_descriptor.Descr
Dtest_collections.py671 self.assertRaises(AttributeError, Point.x.__set__, p, 33)
/third_party/boost/libs/fusion/doc/
Dcontainer.qbk909 Create a __set__ from one or more values.
940 [*Semantics]: Create a __set__ from `x0, x1,... xN`.
1484 [*Return type]: A __set__ with elements of types converted following the
1487 [*Semantics]: Create a __set__ from `T0, T1,... TN`.
1923 Convert a fusion sequence to a __set__.
1948 [*Semantics]: Convert a fusion sequence, `seq`, to a __set__.
2166 [*Return type]: A __set__ with same elements as the input sequence,
2169 [*Semantics]: Convert a fusion sequence, `Sequence`, to a __set__.
Dquick_start.qbk107 from. Each sequence has its own characteristics. We have `__list__`, `__set__`,
Dsequence.qbk127 * __set__
358 * __set__
852 __set__<int, char, bool> s(1, 'x', true);
901 __set__<int, char, bool> s(1, 'x', true);
Diterator.qbk98 * __set__ iterator
252 * __set__ iterator
Dfusion.qbk120 [def __set__ [link fusion.container.set `set`]]
/third_party/python/Doc/reference/
Ddatamodel.rst1691 .. method:: object.__set__(self, instance, value)
1696 Note, adding :meth:`__set__` or :meth:`__delete__` changes the kind of
1742 protocol: :meth:`__get__`, :meth:`__set__`, and :meth:`__delete__`. If any of
1778 of :meth:`__get__`, :meth:`__set__` and :meth:`__delete__`. If it does not
1781 the descriptor defines :meth:`__set__` and/or :meth:`__delete__`, it is a data
1783 descriptors define both :meth:`__get__` and :meth:`__set__`, while non-data
1785 :meth:`__get__` and :meth:`__set__` (and/or :meth:`__delete__`) defined always override a redefinit…
/third_party/python/Lib/unittest/test/testmock/
Dtesthelpers.py893 def __set__(self, obj, value): pass member in SpecSignatureTest.test_autospec_data_descriptor.Descriptor
/third_party/python/Doc/library/
Dinspect.rst421 has a :meth:`~object.__get__` method but not a :meth:`~object.__set__`
436 Data descriptors have a :attr:`~object.__set__` or a :attr:`~object.__delete__` method.
Dunittest.mock.rst822 :class:`PropertyMock` provides :meth:`__get__` and :meth:`__set__` methods
2027 * Descriptor methods: ``__get__``, ``__set__`` and ``__delete__``
2163 * ``__get__``, ``__set__`` and ``__delete__``
/third_party/python/Doc/extending/
Dnewtypes.rst318 returns \NULL{} and sets an exception. The \method{__set__()} handler is
/third_party/python/Lib/unittest/
Dmock.py2850 def __set__(self, obj, val): member in PropertyMock
/third_party/python/Tools/c-analyzer/
DTODO461 Objects/typeobject.c:slot_tp_descr_set():PyId___set__ _Py_IDENTIFIER(__set__)
/third_party/python/Doc/
Dglossary.rst294 Any object which defines the methods :meth:`__get__`, :meth:`__set__`, or
/third_party/protobuf/python/google/protobuf/internal/
Dreflection_test.py3056 unittest_pb2.TestAllTypes.optional_int32.__set__(msg, 25)
/third_party/python/Doc/whatsnew/
D2.2.rst179 * ``__set__(object, value)`` sets the attribute on *object* to *value*.

12