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

Function findsource

Lib/inspect.py:518–583  ·  view source on GitHub ↗

Return the entire source file 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 all the lines in the file and the line number indexes a line in that list. An IOError

(object)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

getcommentsFunction · 0.85
getsourcelinesFunction · 0.85
getframeinfoFunction · 0.85

Calls 15

getfileFunction · 0.85
getsourcefileFunction · 0.85
getmoduleFunction · 0.85
ismethodFunction · 0.85
isfunctionFunction · 0.85
istracebackFunction · 0.85
isframeFunction · 0.85
iscodeFunction · 0.85
groupMethod · 0.80
ismoduleFunction · 0.70
isclassFunction · 0.70
compileMethod · 0.45

Tested by

no test coverage detected