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

Method setup

Lib/socketserver.py:853–857  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

851 """Define self.rfile and self.wfile for datagram sockets."""
852
853 def setup(self):
854 from io import BytesIO
855 self.packet, self.socket = self.request
856 self.rfile = BytesIO(self.packet)
857 self.wfile = BytesIO()
858
859 def finish(self):
860 self.socket.sendto(self.wfile.getvalue(), self.client_address)

Callers

nothing calls this directly

Calls 1

BytesIOClass · 0.90

Tested by

no test coverage detected