Home
last modified time | relevance | path

Searched refs:__slots__ (Results 1 - 25 of 122) sorted by relevance

12345

/third_party/python/Lib/asyncio/
H A Dtransports.py12 __slots__ = ('_extra',) variable in BaseTransport
49 __slots__ = () variable in ReadTransport
75 __slots__ = () variable in WriteTransport
169 __slots__ = () variable in Transport
175 __slots__ = () variable in DatagramTransport
199 __slots__ = () variable in SubprocessTransport
268 __slots__ = ('_loop', '_protocol_paused', '_high_water', '_low_water') variable in _FlowControlMixin
H A Dprotocols.py19 __slots__ = () variable in BaseProtocol
92 __slots__ = () variable in Protocol
133 __slots__ = () variable in BufferedProtocol
165 __slots__ = () variable in DatagramProtocol
180 __slots__ = () variable in SubprocessProtocol
/third_party/python/Lib/
H A 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
375 __slots__ = () global() variable in Sized
390 __slots__ = () global() variable in Container
407 __slots__ = () global() variable in Collection
426 __slots__ = () global() variable in _CallableGenericAlias
510 __slots__ = () global() variable in Callable
539 __slots__ = () global() variable in Set
681 __slots__ = () global() variable in MutableSet
762 __slots__ = () global() variable in Mapping
810 __slots__ = '_mapping', global() variable in MappingView
826 __slots__ = () global() variable in KeysView
844 __slots__ = () global() variable in ItemsView
869 __slots__ = () global() variable in ValuesView
895 __slots__ = () global() variable in MutableMapping
980 __slots__ = () global() variable in Sequence
1048 __slots__ = () global() variable in ByteString
1061 __slots__ = () global() variable in MutableSequence
[all...]
H A 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
H A D_threading_local.py111 ... __slots__ = 'number'
148 __slots__ = 'key', 'dicts', 'localargs', 'locallock', '__weakref__' variable in _localimpl
205 __slots__ = '_local__impl', '__dict__' variable in local
H A Dtyping.py400 __slots__ = ('__weakref__',) variable in _Final
409 __slots__ = () variable in _Immutable
432 __slots__ = () variable in _NotIterable
439 __slots__ = ('_name', '__doc__', '_getitem') variable in _SpecialForm
833 __slots__ = ('__forward_arg__', '__forward_code__', variable in ForwardRef
1255 self.__slots__ = None # This is not documented.
1793 __slots__ = () variable in Generic
1889 '__init__', '__module__', '__new__', '__slots__',
2031 __slots__ = () variable in Protocol
2195 __slots__ variable in Annotated
2766 __slots__ = () global() variable in SupportsInt
2777 __slots__ = () global() variable in SupportsFloat
2788 __slots__ = () global() variable in SupportsComplex
2799 __slots__ = () global() variable in SupportsBytes
2810 __slots__ = () global() variable in SupportsIndex
2821 __slots__ = () global() variable in SupportsAbs
2832 __slots__ = () global() variable in SupportsRound
3194 __slots__ = () global() variable in IO
3283 __slots__ = () global() variable in BinaryIO
3297 __slots__ = () global() variable in TextIO
[all...]
H A Doperator.py240 __slots__ = ('_attrs', '_call') variable in attrgetter
277 __slots__ = ('_items', '_call') variable in itemgetter
309 __slots__ = ('_name', '_args', '_kwargs') variable in methodcaller
H A 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
/third_party/python/Lib/test/
H A 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
H A Dtest_opcache.py182 __slots__ = ("slot",) variable in TestLoadAttrCache.test_load_shadowing_slot_should_raise_type_error.Class
185 __slots__ = ("shadowed",) variable in TestLoadAttrCache.test_load_shadowing_slot_should_raise_type_error.Sneaky
200 __slots__ = ("slot",) variable in TestLoadAttrCache.test_store_shadowing_slot_should_raise_type_error.Class
203 __slots__ = ("shadowed",) variable in TestLoadAttrCache.test_store_shadowing_slot_should_raise_type_error.Sneaky
217 __slots__ = ("slot",) variable in TestLoadAttrCache.test_load_borrowed_slot_should_not_crash.Class
233 __slots__ = ("slot",) variable in TestLoadAttrCache.test_store_borrowed_slot_should_not_crash.Class
H A Dtest_descr.py270 __slots__ = ['prec'] variable in OperatorsTest.test_complexes.Number
1062 # We set __slots__ = () to ensure that the subclasses are
1071 __slots__ = () variable in .test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyInt
1076 __slots__ = () variable in .test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyFloat
1081 __slots__ = () variable in .test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyComplex
1086 __slots__ = () variable in .test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyStr
1091 __slots__ = () variable in .test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyBytes
1096 __slots__ = () variable in .test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyTuple
1101 __slots__ = () variable in .test_object_class_assignment_between_heaptypes_and_nonheaptypes.MyFrozenSet
1106 # Testing __slots__
1108 __slots__ = [] global() variable in .test_slots.C0
1114 __slots__ = ['a'] global() variable in .test_slots.C1
1126 __slots__ = ['a', 'b', 'c'] global() variable in .test_slots.C3
1141 __slots__ = ['__a'] global() variable in .test_slots.C4
1160 __slots__ = [None] global() variable in .test_slots.C4.C
1167 __slots__ = ["foo bar"] global() variable in .test_slots.C4.C
1174 __slots__ = ["foo\\0bar"] global() variable in .test_slots.C4.C
1181 __slots__ = ["1"] global() variable in .test_slots.C4.C
1188 __slots__ = [""] global() variable in .test_slots.C4.C
1194 __slots__ = ["a", "a_b", "_a", "A0123456789Z"] global() variable in .test_slots.C
1200 __slots__ = "abc" global() variable in .test_slots.C
1208 __slots__ = "abc" global() variable in .test_slots.C
1216 __slots__ = slots global() variable in .test_slots.C
1224 __slots__ = [chr(128)] global() variable in .test_slots.C.C
1238 __slots__ = ['a', 'b', 'c'] global() variable in .test_slots.C
1257 __slots__ = ['e'] global() variable in .test_slots.E
1269 __slots__ = ['a', 'b'] global() variable in .test_slots.F
1290 __slots__ = ['a', 'b'] global() variable in .test_slots.H
1303 __slots__ = "a" global() variable in .test_slots.X
1309 __slots__ = "a" global() variable in .test_slots.X
1317 __slots__ = (SubStr('x'),) global() variable in .test_slots.X
1325 __slots__ = ["__dict__"] global() variable in .test_slots_special.D
1333 __slots__ = ["__weakref__"] global() variable in .test_slots_special.W
1345 __slots__ = [] global() variable in .test_slots_special.C1
1353 __slots__ = [] global() variable in .test_slots_special.C2
1371 __slots__ = ["__classcell__"] global() variable in .test_slots_special2.C2
1384 __slots__ = ["__classcell__"] global() variable in .test_slots_special2.C2.C3
1387 __slots__ = ["__qualname__"] global() variable in .test_slots_special2.Q1
1398 __slots__ = ["__qualname__"] global() variable in .test_slots_special2.Q1.Q2
1405 __slots__ = "a" global() variable in .test_slots_descriptor.MyABC
1514 __slots__ = 1 global() variable in .test_errors.Classic.C
1522 __slots__ = [1] global() variable in .test_errors.Classic.C
2246 __slots__ = ['foo'] global() variable in .test_weakrefs.NoWeak
2255 __slots__ = ['foo', '__weakref__'] global() variable in .test_weakrefs.Weak
2727 __slots__ = [] global() variable in .test_basic_inheritance.octlong
2773 __slots__ = ['prec'] global() variable in .test_basic_inheritance.precfloat
3304 __slots__ = ["a", "b"] global() variable in .test_set_class.G
3306 __slots__ = ["b", "a"] global() variable in .test_set_class.H
3308 __slots__ = ["a", "b"] global() variable in .test_set_class.I
3310 __slots__ = ["c", "b"] global() variable in .test_set_class.J
3312 __slots__ = ["a", "b", "d"] global() variable in .test_set_class.K
3314 __slots__ = ["e"] global() variable in .test_set_class.L
3316 __slots__ = ["e"] global() variable in .test_set_class.M
3318 __slots__ = ["__weakref__"] global() variable in .test_set_class.N
3320 __slots__ = ["__dict__"] global() variable in .test_set_class.P
3324 __slots__ = ["__dict__", "__weakref__"] global() variable in .test_set_class.R
3895 __slots__ = ['x'] global() variable in .test_slots_trash.trash
3906 __slots__=() global() variable in .test_slots_multiple_inheritance.A
3910 __slots__=() global() variable in .test_slots_multiple_inheritance.C
4809 __slots__ = ["foo"] global() variable in .test_slot_shadows_class_variable.X
5256 __slots__ = tuple(state) global() variable in PicklingTests.test_reduce.C14
5355 __slots__ = ['a'] global() variable in PicklingTests.test_pickle_slots.C
5367 __slots__ = ['a'] global() variable in PicklingTests.test_pickle_slots.C
5390 __slots__ = ['b'] global() variable in PicklingTests.test_pickle_slots.E
[all...]
/third_party/python/Lib/ctypes/
H A D_endian.py50 __slots__ = () variable in _swapped_union_meta.BigEndianStructure
57 __slots__ = () variable in _swapped_union_meta.BigEndianUnion
67 __slots__ = () variable in _swapped_union_meta.LittleEndianStructure
74 __slots__ = () variable in _swapped_union_meta.LittleEndianUnion
/third_party/python/Lib/test/test_import/data/unwritable/
H A D__init__.py4 __slots__ = ['__builtins__', '__cached__', '__doc__', variable in MyMod
8 for attr in self.__slots__:
/third_party/protobuf/python/google/protobuf/internal/
H A Dcontainers.py54 # it doesn't define __slots__. This causes two significant problems:
57 # classes *do* define __slots__.
59 # 2. we can't safely derive a C type from it without __slots__ defined (the
65 # 1. We declare __slots__.
71 # __slots__ properly disallow arbitrary element assignment.
74 __slots__ = () variable in Mapping
122 __slots__ = () variable in MutableMapping
186 # __slots__.
195 __slots__ = ['_message_listener', '_values'] variable in BaseContainer
242 __slots__ variable in RepeatedScalarFieldContainer
353 __slots__ = ['_message_descriptor'] global() variable in RepeatedCompositeFieldContainer
463 __slots__ = ['_key_checker', '_value_checker', '_values', '_message_listener', global() variable in ScalarMap
553 __slots__ = ['_key_checker', '_values', '_message_listener', global() variable in MessageMap
662 __slots__ = ['_field_number', '_wire_type', '_data'] global() variable in _UnknownField
722 __slots__ = ['_values'] global() variable in UnknownFieldSet
[all...]
H A 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/urllib/
H A Dparse.py138 __slots__ = () variable in _ResultMixinStr
146 __slots__ = () variable in _ResultMixinBytes
154 __slots__ = () variable in _NetlocResultMixinBase
191 __slots__ = () variable in _NetlocResultMixinStr
221 __slots__ = () variable in _NetlocResultMixinBytes
324 __slots__ = () variable in DefragResult
332 __slots__ = () variable in SplitResult
337 __slots__ = () variable in ParseResult
343 __slots__ = () variable in DefragResultBytes
351 __slots__ variable in SplitResultBytes
356 __slots__ = () global() variable in ParseResultBytes
[all...]
/third_party/node/deps/v8/third_party/jinja2/
H A Druntime.py707 __slots__ = ( variable in Undefined
934 __slots__ = () variable in ChainableUndefined
960 __slots__ = () variable in DebugUndefined
994 __slots__ = () variable in StrictUndefined
1007 Undefined.__slots__,
1008 ChainableUndefined.__slots__,
1009 DebugUndefined.__slots__,
1010 StrictUndefined.__slots__,
/third_party/skia/third_party/externals/jinja2/
H A Druntime.py707 __slots__ = ( variable in Undefined
934 __slots__ = () variable in ChainableUndefined
960 __slots__ = () variable in DebugUndefined
994 __slots__ = () variable in StrictUndefined
1007 Undefined.__slots__,
1008 ChainableUndefined.__slots__,
1009 DebugUndefined.__slots__,
1010 StrictUndefined.__slots__,
/third_party/python/Lib/xml/dom/
H A Dminicompat.py51 __slots__ = () variable in NodeList
75 __slots__ = () variable in EmptyNodeList
/third_party/node/tools/inspector_protocol/jinja2/
H A Druntime.py463 __slots__ = ('context',) variable in LoopContextIterator
606 __slots__ = ('_undefined_hint', '_undefined_obj', '_undefined_name', variable in Undefined
772 __slots__ = () variable in DebugUndefined
805 __slots__ = () variable in StrictUndefined
813 del Undefined.__slots__, DebugUndefined.__slots__, StrictUndefined.__slots__
/third_party/jinja2/
H A Druntime.py804 __slots__ = ( variable in Undefined
933 __slots__ = () variable in make_logging_undefined.LoggingUndefined
975 __slots__ = () variable in ChainableUndefined
1000 __slots__ = () variable in DebugUndefined
1038 __slots__ = () variable in StrictUndefined
1047 Undefined.__slots__,
1048 ChainableUndefined.__slots__,
1049 DebugUndefined.__slots__,
1050 StrictUndefined.__slots__,
/third_party/mesa3d/src/imagination/csbgen/
H A 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__ variable in Group.DWord
932 __slots__ = ["parser", "context", "filename"] global() variable in Parser
[all...]
/third_party/python/Lib/zoneinfo/
H A D_common.py128 __slots__ = [ variable in _TZifHeader
139 for attr, val in zip(self.__slots__, args, strict=True):
/third_party/markupsafe/
H A D__init__.py65 __slots__ = () variable in Markup
261 __slots__ = ("escape",) variable in EscapeFormatter
302 __slots__ = ("obj", "escape") variable in _MarkupEscapeHelper
/third_party/python/Tools/c-analyzer/c_common/
H A Dmisc.py3 __slots__ = ('_label',) variable in Labeled

Completed in 24 milliseconds

12345