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

Method resetbuffer

Lib/code.py:200–202  ·  view source on GitHub ↗

Reset the input buffer.

(self)

Source from the content-addressed store, hash-verified

198 self.resetbuffer()
199
200 def resetbuffer(self):
201 """Reset the input buffer."""
202 self.buffer = []
203
204 def interact(self, banner=None, exitmsg=None):
205 """Closely emulate the interactive Python console.

Callers 4

__init__Method · 0.95
interactMethod · 0.95
pushMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected