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

Method _create_socket

Lib/poplib.py:451–455  ·  view source on GitHub ↗
(self, timeout)

Source from the content-addressed store, hash-verified

449 POP3.__init__(self, host, port, timeout)
450
451 def _create_socket(self, timeout):
452 sock = POP3._create_socket(self, timeout)
453 sock = self.context.wrap_socket(sock,
454 server_hostname=self.host)
455 return sock
456
457 def stls(self, context=None):
458 """The method unconditionally raises an exception since the

Callers

nothing calls this directly

Calls 2

wrap_socketMethod · 0.80
_create_socketMethod · 0.45

Tested by

no test coverage detected