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

Function getsource

Lib/inspect.py:695–702  ·  view source on GitHub ↗

Return the text of the source code for an object. The argument may be a module, class, method, function, traceback, frame, or code object. The source code is returned as a single string. An IOError is raised if the source code cannot be retrieved.

(object)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

getsourcelinesFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected