File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 56
56
57
57
if HAVE_PYSSL :
58
58
PYSSLError : Any = _pyssl .SSLError
59
- BLOCKING_IO_ERRORS : Any = _ssl .BLOCKING_IO_ERRORS + _pyssl .BLOCKING_IO_ERRORS
60
- BLOCKING_IO_READ_ERROR : Any = _pyssl .BLOCKING_IO_READ_ERROR | _ssl .BLOCKING_IO_READ_ERROR
61
- BLOCKING_IO_WRITE_ERROR : Any = _pyssl .BLOCKING_IO_WRITE_ERROR | _ssl .BLOCKING_IO_WRITE_ERROR
59
+ BLOCKING_IO_ERRORS : tuple = _ssl .BLOCKING_IO_ERRORS + _pyssl .BLOCKING_IO_ERRORS
60
+ BLOCKING_IO_READ_ERROR : Any = Union [
61
+ _pyssl .BLOCKING_IO_READ_ERROR , _ssl .BLOCKING_IO_READ_ERROR
62
+ ]
63
+ BLOCKING_IO_WRITE_ERROR : Any = Union [
64
+ _pyssl .BLOCKING_IO_WRITE_ERROR , _ssl .BLOCKING_IO_WRITE_ERROR
65
+ ]
62
66
else :
63
67
PYSSLError = _ssl .SSLError
64
68
BLOCKING_IO_ERRORS = _ssl .BLOCKING_IO_ERRORS
You can’t perform that action at this time.
0 commit comments