MCPcopy Index your code
hub / github.com/python/cpython / _create

Method _create

Lib/ssl.py:814–823  ·  view source on GitHub ↗
(cls, incoming, outgoing, server_side=False,
                 server_hostname=None, session=None, context=None)

Source from the content-addressed store, hash-verified

812
813 @classmethod
814 def _create(cls, incoming, outgoing, server_side=False,
815 server_hostname=None, session=None, context=None):
816 self = cls.__new__(cls)
817 sslobj = context._wrap_bio(
818 incoming, outgoing, server_side=server_side,
819 server_hostname=server_hostname,
820 owner=self, session=session
821 )
822 self._sslobj = sslobj
823 return self
824
825 @property
826 def context(self):

Callers 2

wrap_socketMethod · 0.45
wrap_bioMethod · 0.45

Calls 1

__new__Method · 0.45

Tested by

no test coverage detected