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

Function func_std_string

tools/python-3.11.9-amd64/Lib/pstats.py:554–563  ·  view source on GitHub ↗
(func_name)

Source from the content-addressed store, hash-verified

552 return func[2]
553
554def func_std_string(func_name): # match what old profile produced
555 if func_name[:2] == ('~', 0):
556 # special case for built-in functions
557 name = func_name[2]
558 if name.startswith('<') and name.endswith('>'):
559 return '{%s}' % name[1:-1]
560 else:
561 return name
562 else:
563 return "%s:%d(%s)" % func_name
564
565#**************************************************************************
566# The following functions combine statistics for pairs functions.

Callers 7

get_top_level_statsMethod · 0.85
sort_statsMethod · 0.85
strip_dirsMethod · 0.85
eval_print_amountMethod · 0.85
get_print_listMethod · 0.85
print_call_lineMethod · 0.85
print_lineMethod · 0.85

Calls 2

startswithMethod · 0.80
endswithMethod · 0.80

Tested by

no test coverage detected