mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 23:05:50 +08:00
Improve many __(a)exit__ annotations (#9696)
This commit is contained in:
1 parent
db821101b8
commit
52ec44fa58
45 files changed
+216
-81
No files matched your search
@@ -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