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

Function label

tools/python-3.11.9-amd64/Lib/cProfile.py:123–127  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

121# ____________________________________________________________
122
123def label(code):
124 if isinstance(code, str):
125 return ('~', 0, code) # built-in functions ('~' sorts at the end)
126 else:
127 return (code.co_filename, code.co_firstlineno, code.co_name)
128
129# ____________________________________________________________
130

Callers 4

snapshot_statsMethod · 0.85
annotate_baseMethod · 0.85
set_labelMethod · 0.85
get_labelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected