Home
last modified time | relevance | path

Searched defs:__slots__ (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/python/Lib/test/
Dtest_copyreg.py14 __slots__ = ('__weakref__',) variable in WithWeakref
17 __slots__ = ('__spam',) variable in WithPrivate
20 __slots__ = ('__spam',) variable in _WithLeadingUnderscoreAndPrivate
23 __slots__ = ('__spam',) variable in ___
26 __slots__ = 'spam' variable in WithSingleString
29 __slots__ = ('eggs',) variable in WithInherited
Dtest_descr.py269 __slots__ = ['prec'] variable in OperatorsTest.test_complexes.Number
1070 __slots__ = () variable in ClassPropertiesAndMethods.test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyInt
1075 __slots__ = () variable in ClassPropertiesAndMethods.test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyFloat
1080 __slots__ = () variable in ClassPropertiesAndMethods.test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyComplex
1085 __slots__ = () variable in ClassPropertiesAndMethods.test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyStr
1090 __slots__ = () variable in ClassPropertiesAndMethods.test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyBytes
1095 __slots__ = () variable in ClassPropertiesAndMethods.test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyTuple
1100 __slots__ = () variable in ClassPropertiesAndMethods.test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyFrozenSet
1107 __slots__ = [] variable in ClassPropertiesAndMethods.test_slots.C0
1113 __slots__ = ['a'] variable in ClassPropertiesAndMethods.test_slots.C1
[all …]
Dtest_sys.py1471 __slots__ = 'a', 'b', 'c' variable in SizeofTest.test_slots.BA
1474 __slots__ = 'a', 'b', 'c' variable in SizeofTest.test_slots.D
1477 __slots__ = 'a', 'b', 'c' variable in SizeofTest.test_slots.L
1480 __slots__ = 'a', 'b', 'c' variable in SizeofTest.test_slots.S
1483 __slots__ = 'a', 'b', 'c' variable in SizeofTest.test_slots.FS
1487 __slots__ = 'a', 'b', 'c' variable in SizeofTest.test_slots.OD
Dtest_finalization.py44 __slots__ = () variable in NonGCSimpleBase
108 __slots__ = () variable in NonGC
112 __slots__ = () variable in NonGCResurrector
/third_party/python/Lib/
D_collections_abc.py92 __slots__ = () variable in Hashable
107 __slots__ = () variable in Awaitable
124 __slots__ = () variable in Coroutine
168 __slots__ = () variable in AsyncIterable
185 __slots__ = () variable in AsyncIterator
204 __slots__ = () variable in AsyncGenerator
255 __slots__ = () variable in Iterable
273 __slots__ = () variable in Iterator
308 __slots__ = () variable in Reversible
324 __slots__ = () variable in Generator
[all …]
D_threading_local.py148 __slots__ = 'key', 'dicts', 'localargs', 'locallock', '__weakref__' variable in _localimpl
205 __slots__ = '_local__impl', '__dict__' variable in local
Dnumbers.py18 __slots__ = () variable in Number
43 __slots__ = () variable in Complex
156 __slots__ = () variable in Real
270 __slots__ = () variable in Rational
301 __slots__ = () variable in Integral
Dtyping.py343 __slots__ = ('__weakref__',) variable in _Final
351 __slots__ = () variable in _Immutable
363 __slots__ = ('_name', '__doc__', '_getitem') variable in _SpecialForm
656 __slots__ = ('__forward_arg__', '__forward_code__', variable in ForwardRef
794 __slots__ = ('__name__', '__bound__', '__constraints__', variable in TypeVar
899 __slots__ = ('__name__', '__bound__', '__covariant__', '__contravariant__', variable in ParamSpec
1298 __slots__ = () variable in Generic
1523 __slots__ = () variable in Protocol
1668 __slots__ = () variable in Annotated
2158 __slots__ = () variable in SupportsInt
[all …]
Dtracemalloc.py35 __slots__ = ('traceback', 'size', 'count') variable in Statistic
75 __slots__ = ('traceback', 'size', 'size_diff', 'count', 'count_diff') variable in StatisticDiff
145 __slots__ = ("_frame",) variable in Frame
185 __slots__ = ("_frames", '_total_nframe') variable in Traceback
276 __slots__ = ("_trace",) variable in Trace
Dweakref.py45 __slots__ = "_func_ref", "_meth_type", "_alive", "__weakref__" variable in WeakMethod
346 __slots__ = "key", variable in KeyedRef
559 __slots__ = () variable in finalize
567 __slots__ = ("weakref", "func", "args", "kwargs", "atexit", "index") variable in finalize._Info
/third_party/python/Lib/asyncio/
Dprotocols.py19 __slots__ = () variable in BaseProtocol
92 __slots__ = () variable in Protocol
137 __slots__ = () variable in BufferedProtocol
169 __slots__ = () variable in DatagramProtocol
184 __slots__ = () variable in SubprocessProtocol
Dtransports.py12 __slots__ = ('_extra',) variable in BaseTransport
49 __slots__ = () variable in ReadTransport
75 __slots__ = () variable in WriteTransport
163 __slots__ = () variable in Transport
169 __slots__ = () variable in DatagramTransport
193 __slots__ = () variable in SubprocessTransport
262 __slots__ = ('_loop', '_protocol_paused', '_high_water', '_low_water') variable in _FlowControlMixin
/third_party/mesa3d/src/imagination/csbgen/
Dgen_pack_header.py97 __slots__ = ["parent", "name"] variable in Node
126 __slots__ = ["prefix_field", "filename", "_defines", "_enums", "_structs"] variable in Csbgen
208 __slots__ = ["_values"] variable in Enum
248 __slots__ = ["value"] variable in Value
264 __slots__ = ["length", "size", "_children"] variable in Struct
409 __slots__ = ["start", "end", "type", "default", "shift", "_defines"] variable in Field
519 __slots__ = ["value"] variable in Define
535 __slots__ = ["type", "_children", "_child_branch"] variable in Condition
677 __slots__ = ["start", "count", "size", "fields"] variable in Group
691 __slots__ = ["size", "fields", "addresses"] variable in Group.DWord
[all …]
/third_party/python/Lib/urllib/
Dparse.py133 __slots__ = () variable in _ResultMixinStr
141 __slots__ = () variable in _ResultMixinBytes
149 __slots__ = () variable in _NetlocResultMixinBase
187 __slots__ = () variable in _NetlocResultMixinStr
217 __slots__ = () variable in _NetlocResultMixinBytes
322 __slots__ = () variable in DefragResult
330 __slots__ = () variable in SplitResult
335 __slots__ = () variable in ParseResult
341 __slots__ = () variable in DefragResultBytes
349 __slots__ = () variable in SplitResultBytes
[all …]
/third_party/python/Lib/ctypes/
D_endian.py48 __slots__ = () variable in BigEndianStructure
57 __slots__ = () variable in LittleEndianStructure
/third_party/python/Lib/test/test_import/data/unwritable/
D__init__.py4 __slots__ = ['__builtins__', '__cached__', '__doc__', variable in MyMod
/third_party/protobuf/python/google/protobuf/internal/
Dcontainers.py74 __slots__ = () variable in Mapping
122 __slots__ = () variable in MutableMapping
195 __slots__ = ['_message_listener', '_values'] variable in BaseContainer
242 __slots__ = ['_type_checker'] variable in RepeatedScalarFieldContainer
353 __slots__ = ['_message_descriptor'] variable in RepeatedCompositeFieldContainer
463 __slots__ = ['_key_checker', '_value_checker', '_values', '_message_listener', variable in ScalarMap
553 __slots__ = ['_key_checker', '_values', '_message_listener', variable in MessageMap
662 __slots__ = ['_field_number', '_wire_type', '_data'] variable in _UnknownField
722 __slots__ = ['_values'] variable in UnknownFieldSet
Dwell_known_types.py70 __slots__ = () variable in Any
105 __slots__ = () variable in Timestamp
261 __slots__ = () variable in Duration
420 __slots__ = () variable in FieldMask
578 __slots__ = ('_root',) variable in _FieldMaskTree
760 __slots__ = () variable in Struct
813 __slots__ = () variable in ListValue
/third_party/python/Lib/xml/dom/
Dminicompat.py51 __slots__ = () variable in NodeList
75 __slots__ = () variable in EmptyNodeList
/third_party/python/Tools/c-analyzer/c_common/
Dmisc.py3 __slots__ = ('_label',) variable in Labeled
/third_party/python/Lib/ctypes/test/
Dtest_byteswap.py27 __slots__ = () variable in Test.test_slots.BigPoint
31 __slots__ = () variable in Test.test_slots.LowPoint
/third_party/python/Doc/reference/
Ddatamodel.rst1821 __slots__ subsection
1840 Notes on using *__slots__* argument
1901 .. _class-customization:
/third_party/python/Lib/zoneinfo/
D_zoneinfo.py397 __slots__ = ["utcoff", "dstoff", "tzname"] variable in _ttinfo
422 __slots__ = ( variable in _TZStr
517 __slots__ = ["d", "julian", "hour", "minute", "second"] variable in _DayOffset
544 __slots__ = ["m", "w", "d", "hour", "minute", "second"] variable in _CalendarOffset
D_common.py128 __slots__ = [ variable in _TZifHeader
/third_party/markupsafe/
D__init__.py68 __slots__ = () variable in Markup
224 __slots__ = ("escape",) variable in EscapeFormatter
265 __slots__ = ("obj", "escape") variable in _MarkupEscapeHelper

1234