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

Method do_add

tools/python-3.11.9-amd64/Lib/pstats.py:661–669  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

659 print(" that match it are printed.", file=self.stream)
660
661 def do_add(self, line):
662 if self.stats:
663 try:
664 self.stats.add(line)
665 except OSError as e:
666 print("Failed to load statistics for %s: %s" % (line, e), file=self.stream)
667 else:
668 print("No statistics object is loaded.", file=self.stream)
669 return 0
670 def help_add(self):
671 print("Add profile info from given file to current statistics object.", file=self.stream)
672

Callers 1

pstats.pyFile · 0.80

Calls 2

printFunction · 0.50
addMethod · 0.45

Tested by

no test coverage detected