MCPcopy Index your code
hub / github.com/RustPython/RustPython / setup

Method setup

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

Source from the content-addressed store, hash-verified

854 """Define self.rfile and self.wfile for datagram sockets."""
855
856 def setup(self):
857 from io import BytesIO
858 self.packet, self.socket = self.request
859 self.rfile = BytesIO(self.packet)
860 self.wfile = BytesIO()
861
862 def finish(self):
863 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