MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _set_rset_state

Method _set_rset_state

tools/python-3.11.9-amd64/Lib/smtpd.py:184–188  ·  view source on GitHub ↗

Reset all state variables except the greeting.

(self)

Source from the content-addressed store, hash-verified

182 self.set_terminator(b'\r\n')
183
184 def _set_rset_state(self):
185 """Reset all state variables except the greeting."""
186 self._set_post_data_state()
187 self.received_data = ''
188 self.received_lines = []
189
190
191 # properties for backwards-compatibility

Callers 4

__init__Method · 0.95
smtp_HELOMethod · 0.95
smtp_EHLOMethod · 0.95
smtp_RSETMethod · 0.95

Calls 1

_set_post_data_stateMethod · 0.95

Tested by

no test coverage detected