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

Function func_strip_path

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

Source from the content-addressed store, hash-verified

545# func_name is a triple (file:string, line:int, name:string)
546
547def func_strip_path(func_name):
548 filename, line, name = func_name
549 return os.path.basename(filename), line, name
550
551def func_get_function_name(func):
552 return func[2]

Callers 1

strip_dirsMethod · 0.85

Calls 1

basenameMethod · 0.80

Tested by

no test coverage detected