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

Method __init__

Lib/test/test_poplib.py:55–61  ·  view source on GitHub ↗
(self, conn)

Source from the content-addressed store, hash-verified

53 enable_UTF8 = False
54
55 def __init__(self, conn):
56 asynchat.async_chat.__init__(self, conn)
57 self.set_terminator(b"\r\n")
58 self.in_buffer = []
59 self.push('+OK dummy pop3 server ready. <timestamp>')
60 self.tls_active = False
61 self.tls_starting = False
62
63 def collect_incoming_data(self, data):
64 self.in_buffer.append(data)

Callers

nothing calls this directly

Calls 3

pushMethod · 0.95
set_terminatorMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected