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

Method unwrap

Lib/ssl.py:1397–1403  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1395
1396 @_sslcopydoc
1397 def unwrap(self):
1398 if self._sslobj:
1399 s = self._sslobj.shutdown()
1400 self._sslobj = None
1401 return s
1402 else:
1403 raise ValueError("No SSL wrapper around " + str(self))
1404
1405 @_sslcopydoc
1406 def verify_client_post_handshake(self):

Callers

nothing calls this directly

Calls 2

strFunction · 0.85
shutdownMethod · 0.45

Tested by

no test coverage detected