SSLContext.sslobject_class

The return type of SSLContext.wrap_bio(), defaults to SSLObject. The attribute can be overridden on instance of class in order to return a custom subclass of SSLObject.

New in version 3.7.

Related Reading

ssl — TLS/SSL wrapper for socket objects