mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-24 17:28:40 +08:00
Use Generator instead of Iterator for 3rd-party context managers (#12481)
This commit is contained in:
@@ -98,7 +98,7 @@ class Context:
|
||||
def __exit__(
|
||||
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None
|
||||
) -> None: ...
|
||||
def push_alias(self) -> Generator[None, None, None]: ...
|
||||
def push_alias(self) -> Generator[None]: ...
|
||||
def sql(self, obj): ...
|
||||
def literal(self, keyword): ...
|
||||
def value(self, value, converter: Incomplete | None = ..., add_param: bool = ...): ...
|
||||
|
||||
Reference in New Issue
Block a user