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

Method _set_rset_state

Lib/test/support/smtpd.py:172–176  ·  view source on GitHub ↗

Reset all state variables except the greeting.

(self)

Source from the content-addressed store, hash-verified

170 self.set_terminator(b'\r\n')
171
172 def _set_rset_state(self):
173 """Reset all state variables except the greeting."""
174 self._set_post_data_state()
175 self.received_data = ''
176 self.received_lines = []
177
178
179 # 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