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

Method _set_rset_state

Lib/test/support/smtpd.py:173–177  ·  view source on GitHub ↗

Reset all state variables except the greeting.

(self)

Source from the content-addressed store, hash-verified

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