File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 20
20
Optional ,
21
21
Sequence ,
22
22
Tuple ,
23
+ Type ,
23
24
TypeVar ,
24
25
Union ,
25
26
)
@@ -365,7 +366,7 @@ def __enter__(self: _T) -> _T: # noqa: PYI019
365
366
366
367
def __exit__ (
367
368
self ,
368
- exc_type : Optional [type [BaseException ]] = None ,
369
+ exc_type : Optional [Type [BaseException ]] = None ,
369
370
exc : Optional [BaseException ] = None ,
370
371
exc_tb : Optional [TracebackType ] = None ,
371
372
) -> None :
@@ -597,7 +598,7 @@ async def __aenter__(self: _T) -> _T: # noqa: PYI019
597
598
598
599
async def __aexit__ (
599
600
self ,
600
- exc_type : Optional [type [BaseException ]] = None ,
601
+ exc_type : Optional [Type [BaseException ]] = None ,
601
602
exc : Optional [BaseException ] = None ,
602
603
exc_tb : Optional [TracebackType ] = None ,
603
604
) -> None :
You can’t perform that action at this time.
0 commit comments