Home
last modified time | relevance | path

Searched refs:__setattr__ (Results 1 – 25 of 49) sorted by relevance

12

/third_party/python/Lib/
D_threading_local.py200 object.__setattr__(self, '__dict__', dct)
214 object.__setattr__(self, '_local__impl', impl)
225 def __setattr__(self, name, value): member in local
231 return object.__setattr__(self, name, value)
Duuid.py221 object.__setattr__(self, 'int', int)
222 object.__setattr__(self, 'is_safe', is_safe)
233 object.__setattr__(self, 'int', state['int'])
235 object.__setattr__(self, 'is_safe',
276 def __setattr__(self, name, value): member in UUID
Denum.py470 def __setattr__(cls, name, value): member in EnumMeta
481 super().__setattr__(name, value)
D_pydecimal.py3936 return object.__setattr__(self, name, value)
3947 return object.__setattr__(self, name, d)
3949 def __setattr__(self, name, value): member in Context
3965 return object.__setattr__(self, name, value)
3969 return object.__setattr__(self, name, value)
/third_party/python/Lib/email/
D_policybase.py49 super(_PolicyBase,self).__setattr__(name, value)
69 object.__setattr__(newpolicy, attr, value)
75 object.__setattr__(newpolicy, attr, value)
78 def __setattr__(self, name, value): member in _PolicyBase
Dpolicy.py97 object.__setattr__(self, 'header_factory', HeaderRegistry())
/third_party/python/Lib/ctypes/
D_endian.py24 def __setattr__(self, attrname, value): member in _swapped_meta
33 super().__setattr__(attrname, value)
/third_party/mindspore/tests/mindspore_test_framework/utils/
Dkeyword.py22 def __setattr__(self, name, value): member in _MindSporeTestFrameworkkeyword
/third_party/mindspore/mindspore/compression/export/
Dquant_export.py434 subcell.__setattr__("add", add_op)
438 subcell.__setattr__("fake_quant_act", P.identity())
445 network.__setattr__(name, P.identity())
452 network.__setattr__(name, op)
/third_party/python/Lib/test/
Dtest_class.py426 def __setattr__(self, *args): member in ClassTests.testGetSetAndDel.ExtraTests
597 type.__setattr__(A, name, add)
612 type.__setattr__(A, b'x', None)
Dtest_fileio.py562 def __setattr__(self, name, value): member in OtherFileTests.testUnclosedFDOnException.MyFileIO
565 return super(MyFileIO, self).__setattr__(name, value)
Dtest_descr.py826 def __setattr__(self, name, value): member in ClassPropertiesAndMethods.test_module_subclasses.MM
828 MT.__setattr__(self, name, value)
1446 return object.__setattr__(self, name, value)
1447 C.__setattr__ = mysetattr
1929 def __setattr__(self, name, value): member in ClassPropertiesAndMethods.test_overloading.C
1933 return B.__setattr__(self, name, value)
4363 object.__setattr__(str, "foo", 42)
4377 def __setattr__(cls, key, value): member in ClassPropertiesAndMethods.test_carloverre_multi_inherit_valid.A
4378 type.__setattr__(cls, key, value)
4394 def __setattr__(cls, key, value): member in ClassPropertiesAndMethods.test_carloverre_multi_inherit_invalid.A
[all …]
/third_party/python/Tools/c-analyzer/c_analyzer/
Dinfo.py194 def __setattr__(self, name, value): member in Analyzed
197 super().__setattr__(name, value)
/third_party/mindspore/mindspore/train/callback/
D_callback.py238 def __setattr__(self, key, value): member in InternalCallbackParam
/third_party/mindspore/tests/ut/python/dataset/
Dtest_iterator.py158 def __setattr__(self, key, value): member in MyDict
/third_party/mindspore/mindspore/nn/
Dcell.py500 object.__setattr__(self, name, value)
518 def __setattr__(self, name, value): member in Cell
546 object.__setattr__(self, name, value)
551 object.__setattr__(self, name, value)
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp.py67 object.__setattr__(self, name, value)
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp.py63 object.__setattr__(self, name, value)
/third_party/node/tools/inspector_protocol/jinja2/
Ddebug.py74 proxy.__setattr__(*args, **kwargs)
/third_party/python/Doc/library/
Ddataclasses.rst161 :meth:`__setattr__` or :meth:`__delattr__` is defined in the class, then
480 Raised when an implicitly defined :meth:`__setattr__` or
580 :meth:`__setattr__` and :meth:`__delattr__` methods to the class. These
585 must use :meth:`object.__setattr__`.
/third_party/python/Lib/multiprocessing/
Dmanagers.py1122 def __setattr__(self, key, value): member in NamespaceProxy
1124 return object.__setattr__(self, key, value)
/third_party/python/Lib/unittest/test/testmock/
Dtestpatch.py32 def __setattr__(self, name, value): function
36 Proxy.__setattr__ = __setattr__
Dtestmagicmethods.py386 mock.__setattr__ = lambda self, name: None
/third_party/python/Lib/unittest/
Dmock.py742 def __setattr__(self, name, value): member in NonCallableMock
745 return object.__setattr__(self, name, value)
778 return object.__setattr__(self, name, value)
/third_party/python/Doc/reference/
Ddatamodel.rst890 class's dictionary. If the class has a :meth:`~object.__setattr__` or
1576 :meth:`__getattr__` and :meth:`__setattr__`.) This is done both for efficiency
1609 .. method:: object.__setattr__(self, name, value)
1615 If :meth:`__setattr__` wants to assign to an instance attribute, it should
1617 ``object.__setattr__(self, name, value)``.
1619 .. audit-event:: object.__setattr__ obj,name,value object.__setattr__
1622 :ref:`auditing event <auditing>` ``object.__setattr__`` with arguments
1628 Like :meth:`__setattr__` but for attribute deletion instead of assignment. This
1676 def __setattr__(self, attr, value):
1678 super().__setattr__(attr, value)

12