Home
last modified time | relevance | path

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

12

/external/python/cpython2/Lib/ctypes/test/
Dtest_struct_fields.py55 MyCStruct.field.__set__, 'wrong type self', 42)
60 MyCUnion.field.__set__, 'wrong type self', 42)
/external/python/cpython3/Lib/ctypes/test/
Dtest_struct_fields.py55 MyCStruct.field.__set__, 'wrong type self', 42)
60 MyCUnion.field.__set__, 'wrong type self', 42)
/external/python/cpython3/Doc/howto/
Ddescriptor.rst28 protocol. Those methods are :meth:`__get__`, :meth:`__set__`, and
53 ``descr.__set__(self, obj, value) -> None``
61 If an object defines both :meth:`__get__` and :meth:`__set__`, it is considered
73 :meth:`__set__` with the :meth:`__set__` raising an :exc:`AttributeError` when
74 called. Defining the :meth:`__set__` method with an exception raising
161 def __set__(self, obj, val):
224 def __set__(self, obj, value):
/external/python/cpython2/Lib/test/crashers/
Dborrowed_ref_2.py17 def __set__(self, obj, value): member in D
/external/python/cpython2/Doc/howto/
Ddescriptor.rst28 protocol. Those methods are :meth:`__get__`, :meth:`__set__`, and
55 ``descr.__set__(self, obj, value) --> None``
63 If an object defines both :meth:`__get__` and :meth:`__set__`, it is considered
75 :meth:`__set__` with the :meth:`__set__` raising an :exc:`AttributeError` when
76 called. Defining the :meth:`__set__` method with an exception raising
167 def __set__(self, obj, val):
230 def __set__(self, obj, value):
/external/python/cpython3/Lib/
Dssl.py491 super(SSLContext, SSLContext).minimum_version.__set__(self, value)
499 super(SSLContext, SSLContext).maximum_version.__set__(self, value)
507 super(SSLContext, SSLContext).options.__set__(self, value)
536 super(SSLContext, SSLContext).verify_flags.__set__(self, value)
548 super(SSLContext, SSLContext).verify_mode.__set__(self, value)
Dtypes.py173 def __set__(self, instance, value): member in DynamicClassAttribute
/external/scapy/scapy/
Dconfig.py57 def __set__(self, obj, val): member in Interceptor
289 def __set__(self,obj,val): member in LogLevel
/external/python/apitools/apitools/base/protorpclite/
Dmessages.py1281 def __set__(self, message_instance, value): member in Field
1643 def __set__(self, message_instance, value): member in MessageField
1658 super(MessageField, self).__set__(message_instance, value)
/external/python/cpython2/Doc/library/
Dinspect.rst340 has a :meth:`~object.__get__` method but not a :meth:`~object.__set__`
355 Data descriptors have both a :attr:`~object.__get__` and a :attr:`~object.__set__` method.
/external/python/cpython3/Lib/test/
Dtest_descr.py1380 self.assertRaises(TypeError, MyABC.a.__set__, u, 3)
1681 def __set__(self, obj, value): member in ClassPropertiesAndMethods.test_compattr.C.computed_attribute
2187 C.x.__set__(a, 100)
3301 dict_descr.__set__(x, {})
4459 def __set__(self, obj, value): member in ClassPropertiesAndMethods.test_set_and_no_get.Descr
4580 type(list).__dict__["__doc__"].__set__(list, "blah")
4609 self.assertRaises(TypeError, type.__dict__['__qualname__'].__set__,
Dtest_inspect.py681 def __set__(*args): member in _BrokenDataDescriptor
1649 descriptor.__set__ = lambda s, i, v: None
/external/python/cpython2/Lib/test/
Dtest_descr.py1232 self.assertRaises(TypeError, MyABC.a.__set__, u, 3)
1548 def __set__(self, obj, value): member in ClassPropertiesAndMethods.test_compattr.C.computed_attribute
2155 C.x.__set__(a, 100)
3321 dict_descr.__set__(x, {})
4730 def __set__(self, obj, value): member in ClassPropertiesAndMethods.test_set_and_no_get.Descr
Dtest_inspect.py450 def __set__(*args): member in _BrokenDataDescriptor
D_mock_backport.py2357 def __set__(self, obj, val): member in PropertyMock
/external/python/cpython3/Lib/unittest/test/testmock/
Dtesthelpers.py840 def __set__(self, obj, value): member in SpecSignatureTest.test_autospec_data_descriptor.Descriptor
/external/python/cpython2/Doc/reference/
Ddatamodel.rst1575 .. method:: object.__set__(self, instance, value)
1593 protocol: :meth:`__get__`, :meth:`__set__`, and :meth:`__delete__`. If any of
1631 of :meth:`__get__`, :meth:`__set__` and :meth:`__delete__`. If it does not
1634 the descriptor defines :meth:`__set__` and/or :meth:`__delete__`, it is a data
1636 descriptors define both :meth:`__get__` and :meth:`__set__`, while non-data
1638 :meth:`__set__` and :meth:`__get__` defined always override a redefinition in an
/external/python/cpython3/Doc/reference/
Ddatamodel.rst1628 .. method:: object.__set__(self, instance, value)
1662 protocol: :meth:`__get__`, :meth:`__set__`, and :meth:`__delete__`. If any of
1698 of :meth:`__get__`, :meth:`__set__` and :meth:`__delete__`. If it does not
1701 the descriptor defines :meth:`__set__` and/or :meth:`__delete__`, it is a data
1703 descriptors define both :meth:`__get__` and :meth:`__set__`, while non-data
1705 :meth:`__set__` and :meth:`__get__` defined always override a redefinition in an
/external/python/cpython3/Doc/library/
Dinspect.rst399 has a :meth:`~object.__get__` method but not a :meth:`~object.__set__`
414 Data descriptors have both a :attr:`~object.__get__` and a :attr:`~object.__set__` method.
Dunittest.mock.rst786 :class:`PropertyMock` provides :meth:`__get__` and :meth:`__set__` methods
1711 * Descriptor methods: ``__get__``, ``__set__`` and ``__delete__``
1838 * ``__get__``, ``__set__`` and ``__delete__``
/external/python/cpython3/Doc/extending/
Dnewtypes.rst316 returns \NULL{} and sets an exception. The \method{__set__()} handler is
/external/pdfium/third_party/pymock/
Dmock.py2366 def __set__(self, obj, val): member in PropertyMock
/external/python/cpython3/Lib/unittest/
Dmock.py2438 def __set__(self, obj, val): member in PropertyMock
/external/python/mock/mock/
Dmock.py2555 def __set__(self, obj, val): member in PropertyMock
/external/python/cpython2/Doc/
Dglossary.rst170 :meth:`__set__`, or :meth:`__delete__`. When a class attribute is a

12