mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 13:02:22 +08:00
Improve many __(a)exit__ annotations (#9696)
This commit is contained in:
@@ -462,7 +462,7 @@ class connection:
|
||||
def tpc_rollback(self, __xid: str | bytes | Xid = ...) -> None: ...
|
||||
def xid(self, format_id, gtrid, bqual) -> Xid: ...
|
||||
def __enter__(self) -> Self: ...
|
||||
def __exit__(self, __type: object, __name: object, __tb: object) -> None: ...
|
||||
def __exit__(self, __type: type[BaseException] | None, __name: BaseException | None, __tb: TracebackType | None) -> None: ...
|
||||
|
||||
class lobject:
|
||||
closed: Any
|
||||
|
||||
Reference in New Issue
Block a user