PYTHON-5037 - Update pyopenssl_context.__get_options type hint (#2060)

This commit is contained in:
Noah Stapp 2025-01-15 07:54:52 -05:00 committed by GitHub
parent ecf7ac7770
commit 069ebf3e13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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