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

Method resetbuffer

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

Reset the input buffer.

(self)

Source from the content-addressed store, hash-verified

182 self.resetbuffer()
183
184 def resetbuffer(self):
185 """Reset the input buffer."""
186 self.buffer = []
187
188 def interact(self, banner=None, exitmsg=None):
189 """Closely emulate the interactive Python console.

Callers 3

__init__Method · 0.95
interactMethod · 0.95
pushMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected