/dports/devel/py-frozenlist/frozenlist-1.2.0/tests/ |
H A D | test_frozenlist.py | 9 FrozenList = NotImplemented variable in FrozenListMixin 23 _list = self.FrozenList([]) 27 _list = self.FrozenList([1]) 32 _list = self.FrozenList(orig) 37 _list = self.FrozenList() 42 _list = self.FrozenList([1]) 63 _list = self.FrozenList([1]) 75 _list = self.FrozenList([1]) 79 _list = self.FrozenList([1]) 242 FrozenList = FrozenList variable in TestFrozenList [all …]
|
/dports/www/py-aiohttp/aiohttp-3.7.4.post0/tests/ |
H A D | test_frozenlist.py | 9 FrozenList = NotImplemented variable in FrozenListMixin 25 _list = self.FrozenList([]) 29 _list = self.FrozenList([1]) 34 _list = self.FrozenList(orig) 39 _list = self.FrozenList() 44 _list = self.FrozenList([1]) 65 _list = self.FrozenList([1]) 77 _list = self.FrozenList([1]) 81 _list = self.FrozenList([1]) 226 FrozenList = FrozenList variable in TestFrozenList [all …]
|
/dports/devel/py-graphql-core/graphql-core-3.1.6/src/graphql/language/ |
H A D | ast.py | 7 from ..pyutils import camel_to_snake, FrozenList 236 value = FrozenList(value) 343 arguments: FrozenList["ArgumentNode"] 428 values: FrozenList[ValueNode] 434 fields: FrozenList["ObjectFieldNode"] 451 arguments: FrozenList[ArgumentNode] 490 directives: FrozenList[DirectiveNode] 509 directives: FrozenList[DirectiveNode] 553 types: FrozenList[NamedTypeNode] 586 locations: FrozenList[NameNode] [all …]
|
/dports/devel/py-graphql-core/graphql-core-3.1.6/tests/pyutils/ |
H A D | test_frozen_list.py | 10 fl = FrozenList([1, 2, 3]) 38 fl = FrozenList([1, 2, 3]) 74 fl1 = FrozenList([1, 2]) 75 rol2 = FrozenList([3, 4]) 79 fl = FrozenList([1, 2]) 83 fl1 = FrozenList([1, 2]) 84 fl2 = FrozenList([1, 2]) 88 fl3 = FrozenList([1, 3]) 93 fl1 = FrozenList([1, 2]) 101 fl11 = FrozenList([1, 2]) [all …]
|
H A D | test_is_collection.py | 4 from graphql.pyutils import FrozenDict, FrozenList, is_collection 56 assert is_collection(FrozenList()) is True 57 assert is_collection(FrozenList([1, 2, 3])) is True
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/indexes/ |
H A D | test_frozen.py | 5 from pandas.core.indexes.frozen import FrozenList 10 unicode_container = FrozenList(["\u05d0", "\u05d1", "c"]) 14 self.container = FrozenList(self.lst) 56 assert isinstance(result, FrozenList) 70 expected = FrozenList(self.lst + [1, 2, 3]) 74 expected = FrozenList([1, 2, 3] + self.lst) 88 expected = FrozenList(self.lst + [1, 2, 3]) 93 expected = FrozenList([1, 3, 4, 5]) 97 result = FrozenList([1, 2, 3, 2]).difference([2]) 98 expected = FrozenList([1, 3])
|
/dports/devel/py-frozenlist/frozenlist-1.2.0/ |
H A D | README.rst | 32 ``frozenlist.FrozenList`` is a list-like structure which implements 33 ``collections.abc.MutableSequence``. The list is *mutable* until ``FrozenList.freeze`` 37 >>> from frozenlist import FrozenList 38 >>> fl = FrozenList([17, 42]) 42 <FrozenList(frozen=False, [17, 42, 'spam', 'Vikings'])> 45 <FrozenList(frozen=True, [17, 42, 'spam', 'Vikings'])> 51 File "frozenlist/_frozenlist.pyx", line 97, in frozenlist._frozenlist.FrozenList.append 58 FrozenList is also hashable, but only when frozen. Otherwise it also throws a RuntimeError: 61 >>> fl = FrozenList([17, 42, 'spam']) 65 File "frozenlist/_frozenlist.pyx", line 111, in frozenlist._frozenlist.FrozenList.__hash__ [all …]
|
H A D | PKG-INFO | 65 ``frozenlist.FrozenList`` is a list-like structure which implements 66 ``collections.abc.MutableSequence``. The list is *mutable* until ``FrozenList.freeze`` 70 >>> from frozenlist import FrozenList 71 >>> fl = FrozenList([17, 42]) 75 <FrozenList(frozen=False, [17, 42, 'spam', 'Vikings'])> 78 <FrozenList(frozen=True, [17, 42, 'spam', 'Vikings'])> 84 File "frozenlist/_frozenlist.pyx", line 97, in frozenlist._frozenlist.FrozenList.append 91 FrozenList is also hashable, but only when frozen. Otherwise it also throws a RuntimeError: 94 >>> fl = FrozenList([17, 42, 'spam']) 106 {<FrozenList(frozen=True, [1, 2])>: 'Vikings'} [all …]
|
/dports/www/py-aiohttp/aiohttp-3.7.4.post0/aiohttp/ |
H A D | frozenlist.pyi | 16 class FrozenList(MutableSequence[_T], Generic[_T]): 24 def __getitem__(self, s: slice) -> FrozenList[_T]: ... 37 def __le__(self, other: FrozenList[_T]) -> bool: ... 39 def __lt__(self, other: FrozenList[_T]) -> bool: ... 40 def __ge__(self, other: FrozenList[_T]) -> bool: ... 41 def __gt__(self, other: FrozenList[_T]) -> bool: ... 46 CFrozenList = PyFrozenList = FrozenList
|
H A D | frozenlist.py | 8 class FrozenList(MutableSequence): class 64 PyFrozenList = FrozenList 67 from aiohttp._frozenlist import FrozenList as CFrozenList # type: ignore 70 FrozenList = CFrozenList # type: ignore variable
|
H A D | signals.py | 1 from aiohttp.frozenlist import FrozenList 6 class Signal(FrozenList):
|
H A D | signals.pyi | 3 from aiohttp.frozenlist import FrozenList 9 class Signal(FrozenList[_T], Generic[_T]):
|
/dports/www/firefox/firefox-99.0/third_party/python/aiohttp/aiohttp/ |
H A D | frozenlist.pyi | 16 class FrozenList(MutableSequence[_T], Generic[_T]): 24 def __getitem__(self, s: slice) -> FrozenList[_T]: ... 37 def __le__(self, other: FrozenList[_T]) -> bool: ... 39 def __lt__(self, other: FrozenList[_T]) -> bool: ... 40 def __ge__(self, other: FrozenList[_T]) -> bool: ... 41 def __gt__(self, other: FrozenList[_T]) -> bool: ... 46 CFrozenList = PyFrozenList = FrozenList
|
H A D | frozenlist.py | 8 class FrozenList(MutableSequence): class 64 PyFrozenList = FrozenList 67 from aiohttp._frozenlist import FrozenList as CFrozenList # type: ignore 70 FrozenList = CFrozenList # type: ignore variable
|
H A D | signals.py | 1 from aiohttp.frozenlist import FrozenList 6 class Signal(FrozenList):
|
H A D | signals.pyi | 3 from aiohttp.frozenlist import FrozenList 9 class Signal(FrozenList[_T], Generic[_T]):
|
/dports/devel/py-frozenlist/frozenlist-1.2.0/frozenlist/ |
H A D | __init__.pyi | 17 class FrozenList(MutableSequence[_T], Generic[_T]): 30 def __getitem__(self, s: slice) -> FrozenList[_T]: ... 51 def __le__(self, other: FrozenList[_T]) -> bool: ... 53 def __lt__(self, other: FrozenList[_T]) -> bool: ... 54 def __ge__(self, other: FrozenList[_T]) -> bool: ... 55 def __gt__(self, other: FrozenList[_T]) -> bool: ... 65 CFrozenList = PyFrozenList = FrozenList
|
H A D | __init__.py | 19 class FrozenList(MutableSequence): class 89 PyFrozenList = FrozenList 93 from ._frozenlist import FrozenList as CFrozenList # type: ignore 95 FrozenList = CFrozenList # type: ignore variable
|
/dports/devel/py-frozenlist/frozenlist-1.2.0/frozenlist.egg-info/ |
H A D | PKG-INFO | 65 ``frozenlist.FrozenList`` is a list-like structure which implements 66 ``collections.abc.MutableSequence``. The list is *mutable* until ``FrozenList.freeze`` 70 >>> from frozenlist import FrozenList 71 >>> fl = FrozenList([17, 42]) 75 <FrozenList(frozen=False, [17, 42, 'spam', 'Vikings'])> 78 <FrozenList(frozen=True, [17, 42, 'spam', 'Vikings'])> 84 File "frozenlist/_frozenlist.pyx", line 97, in frozenlist._frozenlist.FrozenList.append 91 FrozenList is also hashable, but only when frozen. Otherwise it also throws a RuntimeError: 94 >>> fl = FrozenList([17, 42, 'spam']) 106 {<FrozenList(frozen=True, [1, 2])>: 'Vikings'} [all …]
|
/dports/devel/py-graphql-core/graphql-core-3.1.6/src/graphql/validation/ |
H A D | specified_rules.py | 3 from ..pyutils import FrozenList 104 specified_rules: FrozenList[Type[ASTValidationRule]] = FrozenList( 141 specified_sdl_rules: FrozenList[Type[ASTValidationRule]] = FrozenList(
|
/dports/finance/electrum/Electrum-4.1.5/packages/aiohttp/ |
H A D | frozenlist.py | 8 class FrozenList(MutableSequence): class 64 PyFrozenList = FrozenList 67 from aiohttp._frozenlist import FrozenList as CFrozenList # type: ignore 70 FrozenList = CFrozenList # type: ignore variable
|
H A D | signals.py | 1 from aiohttp.frozenlist import FrozenList 6 class Signal(FrozenList):
|
/dports/devel/py-graphql-core/graphql-core-3.1.6/src/graphql/type/ |
H A D | schema.py | 16 from ..pyutils import inspect, is_collection, is_description, FrozenList 99 directives: FrozenList[GraphQLDirective] 103 extension_ast_nodes: Optional[FrozenList[ast.SchemaExtensionNode]] 150 if not isinstance(directives, FrozenList): 151 directives = FrozenList(directives) 170 if not isinstance(extension_ast_nodes, FrozenList): 171 extension_ast_nodes = FrozenList(extension_ast_nodes) 177 cast(FrozenList[ast.SchemaExtensionNode], extension_ast_nodes) 189 else cast(FrozenList[GraphQLDirective], directives) 282 types=FrozenList(self.type_map.values()) or None, [all …]
|
/dports/devel/py-graphql-core/graphql-core-3.1.6/src/graphql/pyutils/ |
H A D | frozen_list.py | 12 class FrozenList(List[T]): class 39 return FrozenList(self) 42 return FrozenList(deepcopy(value, memo) for value in self)
|
/dports/www/py-aiohttp/aiohttp-3.7.4.post0/docs/ |
H A D | structures.rst | 15 FrozenList section in Common data structures 21 The list is *mutable* unless :meth:`FrozenList.freeze` is called, 25 .. class:: FrozenList(items)
|