File tree 2 files changed +5
-10
lines changed
2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -238,11 +238,9 @@ class LifespanShutdownFailedEvent(TypedDict):
238
238
239
239
240
240
class ASGI2Protocol (Protocol ):
241
- def __init__ (self , scope : Scope ) -> None :
242
- ...
241
+ def __init__ (self , scope : Scope ) -> None : ...
243
242
244
- async def __call__ (self , receive : ASGIReceiveCallable , send : ASGISendCallable ) -> None :
245
- ...
243
+ async def __call__ (self , receive : ASGIReceiveCallable , send : ASGISendCallable ) -> None : ...
246
244
247
245
248
246
ASGI2Application = Type [ASGI2Protocol ]
Original file line number Diff line number Diff line change @@ -174,16 +174,13 @@ def join(self, *chains: Self | Iterable[Self]) -> Self:
174
174
__contains__ = has
175
175
176
176
@overload
177
- def __getitem__ (self , item : type [E ]) -> list [E ]:
178
- ...
177
+ def __getitem__ (self , item : type [E ]) -> list [E ]: ...
179
178
180
179
@overload
181
- def __getitem__ (self , item : int ) -> Element :
182
- ...
180
+ def __getitem__ (self , item : int ) -> Element : ...
183
181
184
182
@overload
185
- def __getitem__ (self , item : slice ) -> Self :
186
- ...
183
+ def __getitem__ (self , item : slice ) -> Self : ...
187
184
188
185
def __getitem__ (self , item : type [Element ] | int | slice ) -> Any :
189
186
"""取出子消息链, 或元素.
You can’t perform that action at this time.
0 commit comments