File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -238,11 +238,9 @@ class LifespanShutdownFailedEvent(TypedDict):
238238
239239
240240class ASGI2Protocol (Protocol ):
241- def __init__ (self , scope : Scope ) -> None :
242- ...
241+ def __init__ (self , scope : Scope ) -> None : ...
243242
244- async def __call__ (self , receive : ASGIReceiveCallable , send : ASGISendCallable ) -> None :
245- ...
243+ async def __call__ (self , receive : ASGIReceiveCallable , send : ASGISendCallable ) -> None : ...
246244
247245
248246ASGI2Application = Type [ASGI2Protocol ]
Original file line number Diff line number Diff line change @@ -174,16 +174,13 @@ def join(self, *chains: Self | Iterable[Self]) -> Self:
174174 __contains__ = has
175175
176176 @overload
177- def __getitem__ (self , item : type [E ]) -> list [E ]:
178- ...
177+ def __getitem__ (self , item : type [E ]) -> list [E ]: ...
179178
180179 @overload
181- def __getitem__ (self , item : int ) -> Element :
182- ...
180+ def __getitem__ (self , item : int ) -> Element : ...
183181
184182 @overload
185- def __getitem__ (self , item : slice ) -> Self :
186- ...
183+ def __getitem__ (self , item : slice ) -> Self : ...
187184
188185 def __getitem__ (self , item : type [Element ] | int | slice ) -> Any :
189186 """取出子消息链, 或元素.
You can’t perform that action at this time.
0 commit comments