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

Method __init__

Lib/test/test_ftplib.py:68–72  ·  view source on GitHub ↗
(self, conn, baseclass)

Source from the content-addressed store, hash-verified

66 dtp_conn_closed = False
67
68 def __init__(self, conn, baseclass):
69 asynchat.async_chat.__init__(self, conn)
70 self.baseclass = baseclass
71 self.baseclass.last_received_data = bytearray()
72 self.encoding = baseclass.encoding
73
74 def handle_read(self):
75 new_data = self.recv(1024)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected