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

Method print

tools/python-3.11.9-amd64/Lib/traceback.py:1017–1022  ·  view source on GitHub ↗

Print the result of self.format(chain=chain) to 'file'.

(self, *, file=None, chain=True)

Source from the content-addressed store, hash-verified

1015
1016
1017 def print(self, *, file=None, chain=True):
1018 """Print the result of self.format(chain=chain) to 'file'."""
1019 if file is None:
1020 file = sys.stderr
1021 for line in self.format(chain=chain):
1022 print(line, file=file, end="")

Callers 1

print_exceptionFunction · 0.95

Calls 2

formatMethod · 0.95
printFunction · 0.50

Tested by

no test coverage detected