MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / __init__

Method __init__

_pydevd_bundle/pydevconsole_code.py:412–424  ·  view source on GitHub ↗

Constructor. The optional locals argument will be passed to the InteractiveInterpreter base class. The optional filename argument should specify the (file)name of the input stream; it will show up in tracebacks.

(self, locals=None, filename="<console>")

Source from the content-addressed store, hash-verified

410 """
411
412 def __init__(self, locals=None, filename="<console>"):
413 """Constructor.
414
415 The optional locals argument will be passed to the
416 InteractiveInterpreter base class.
417
418 The optional filename argument should specify the (file)name
419 of the input stream; it will show up in tracebacks.
420
421 """
422 InteractiveInterpreter.__init__(self, locals)
423 self.filename = filename
424 self.resetbuffer()
425
426 def resetbuffer(self):
427 """Reset the input buffer."""

Callers

nothing calls this directly

Calls 2

resetbufferMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected