MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / getsourcelines

Function getsourcelines

Lib/inspect.py:682–693  ·  view source on GitHub ↗

Return a list of source lines and starting line number for an object. The argument may be a module, class, method, function, traceback, frame, or code object. The source code is returned as a list of the lines corresponding to the object and the line number indicates where in the o

(object)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getsourceFunction · 0.85

Calls 3

findsourceFunction · 0.85
getblockFunction · 0.85
ismoduleFunction · 0.70

Tested by

no test coverage detected