Skip to content

Commit f1176df

Browse files
authored
[cffi] Annotate _CDataBase.__enter__ return type (#15701)
1 parent c1001e1 commit f1176df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stubs/cffi/_cffi_backend.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class _CDataBase:
6868
def __complex__(self) -> complex: ...
6969
def __delitem__(self, other, /) -> None: ...
7070
def __dir__(self): ...
71-
def __enter__(self): ...
71+
def __enter__(self) -> Self: ...
7272
def __eq__(self, other, /): ...
7373
def __exit__(
7474
self, type: type[BaseException] | None, value: BaseException | None, traceback: types.TracebackType | None, /

0 commit comments

Comments
 (0)