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

Method bpprint

Lib/bdb.py:1045–1053  ·  view source on GitHub ↗

Print the output of bpformat(). The optional out argument directs where the output is sent and defaults to standard output.

(self, out=None)

Source from the content-addressed store, hash-verified

1043 self.enabled = False
1044
1045 def bpprint(self, out=None):
1046 """Print the output of bpformat().
1047
1048 The optional out argument directs where the output is sent
1049 and defaults to standard output.
1050 """
1051 if out is None:
1052 out = sys.stdout
1053 print(self.bpformat(), file=out)
1054
1055 def bpformat(self):
1056 """Return a string with information about the breakpoint.

Callers

nothing calls this directly

Calls 2

bpformatMethod · 0.95
printFunction · 0.50

Tested by

no test coverage detected