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

Method smtp_QUIT

Lib/test/test_smtplib.py:972–977  ·  view source on GitHub ↗
(self, arg)

Source from the content-addressed store, hash-verified

970 self.push('550 No access for you!')
971
972 def smtp_QUIT(self, arg):
973 if self.quit_response is None:
974 super(SimSMTPChannel, self).smtp_QUIT(arg)
975 else:
976 self.push(self.quit_response)
977 self.close_when_done()
978
979 def smtp_MAIL(self, arg):
980 if self.mail_response is None:

Callers

nothing calls this directly

Calls 3

superClass · 0.85
close_when_doneMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected