MCPcopy Create free account
hub / github.com/KmBase/ScienceReading / getsourcelines

Function getsourcelines

embedded/site-packages/dill/source.py:332–346  ·  view source on GitHub ↗

Return a list of source lines and starting line number for an object. Interactively-defined objects refer to lines in the interpreter's history. 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

(object, lstrip=False, enclosing=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

outermostFunction · 0.85
getsourceFunction · 0.85

Calls 1

getblocksFunction · 0.85

Tested by

no test coverage detected