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

Method process

Lib/imaplib.py:1724–1728  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

1722 self.mech = mechinst # Callable object to provide/process data
1723
1724 def process(self, data):
1725 ret = self.mech(self.decode(data))
1726 if ret is None:
1727 return b'*' # Abort conversation
1728 return self.encode(ret)
1729
1730 def encode(self, inp):
1731 #

Callers

nothing calls this directly

Calls 2

decodeMethod · 0.95
encodeMethod · 0.95

Tested by

no test coverage detected