original_docstring: SSLContext instance for https requests.
  
          Lazy property, creates context on demand.
          
docstring: SSLContext instance for https requests.
  Lazy property, creates context on demand.
docstring_tokens: SSLContext instance for https requests . Lazy property creates context on demand .
code: def ssl_context(self):
          """SSLContext instance for https requests.
  
          Lazy property, creates context on demand.
          """
          if self._ssl_context is None:
              if not self._verify_ssl:
                  sslcontext = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
                  sslcontext.options |= ssl.OP_NO_SSLv2
                  sslcontext.options |= ssl.OP_NO_SSLv3
                  sslcontext.options |= _SSL_OP_NO_COMPRESSION
                  sslcontext.set_default_verify_paths()
              else:
                  sslcontext = ssl.create_default_context()
              self._ssl_context = sslcontext
          return self._ssl_context
code_tokens: def ssl_context ( self ) : if self . _ssl_context is None : if not self . _verify_ssl : sslcontext = ssl . SSLContext ( ssl . PROTOCOL_SSLv23 ) sslcontext . options |= ssl . OP_NO_SSLv2 sslcontext . options |= ssl . OP_NO_SSLv3 sslcontext . options |= _SSL_OP_NO_COMPRESSION sslcontext . set_default_verify_paths ( ) else : sslcontext = ssl . create_default_context ( ) self . _ssl_context = sslcontext return self . _ssl_context
short_docstring: SSLContext instance for https requests.
short_docstring_tokens: SSLContext instance for https requests .
comment: """SSLContext instance for https requests.
  
          Lazy property, creates context on demand.
          """