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

Method print_callers

tools/python-3.11.9-amd64/Lib/pstats.py:452–461  ·  view source on GitHub ↗
(self, *amount)

Source from the content-addressed store, hash-verified

450 return self
451
452 def print_callers(self, *amount):
453 width, list = self.get_print_list(amount)
454 if list:
455 self.print_call_heading(width, "was called by...")
456 for func in list:
457 cc, nc, tt, ct, callers = self.stats[func]
458 self.print_call_line(width, func, callers, "<-")
459 print(file=self.stream)
460 print(file=self.stream)
461 return self
462
463 def print_call_heading(self, name_size, column_title):
464 print("Function ".ljust(name_size) + column_title, file=self.stream)

Callers

nothing calls this directly

Calls 4

get_print_listMethod · 0.95
print_call_headingMethod · 0.95
print_call_lineMethod · 0.95
printFunction · 0.50

Tested by

no test coverage detected