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

Method write

Lib/ssl.py:871–877  ·  view source on GitHub ↗

Write 'data' to the SSL object and return the number of bytes written. The 'data' argument must support the buffer interface.

(self, data)

Source from the content-addressed store, hash-verified

869 return v
870
871 def write(self, data):
872 """Write 'data' to the SSL object and return the number of bytes
873 written.
874
875 The 'data' argument must support the buffer interface.
876 """
877 return self._sslobj.write(data)
878
879 def getpeercert(self, binary_form=False):
880 """Returns a formatted version of the data in the certificate provided

Callers 2

writeMethod · 0.45
sendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected