PYTHON-5037 - Update pyopenssl_context.__get_options type hint (#2060)
This commit is contained in:
parent
ecf7ac7770
commit
069ebf3e13
@ -273,7 +273,7 @@ class SSLContext:
|
||||
|
||||
check_ocsp_endpoint = property(__get_check_ocsp_endpoint, __set_check_ocsp_endpoint)
|
||||
|
||||
def __get_options(self) -> None:
|
||||
def __get_options(self) -> int:
|
||||
# Calling set_options adds the option to the existing bitmask and
|
||||
# returns the new bitmask.
|
||||
# https://www.pyopenssl.org/en/stable/api/ssl.html#OpenSSL.SSL.Context.set_options
|
||||
|
||||
Loading…
Reference in New Issue
Block a user