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

Function dumpsource

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

dump to source', where the code includes a pickled object. If new=True and object is a class instance, then create a new instance using the unpacked class source code. If enclose, then create the object inside a function enclosure (thus minimizing any global namespace pollution).

(object, alias='', new=False, enclose=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getsourceFunction · 0.85

Calls 7

dumpsFunction · 0.90
_isinstanceFunction · 0.85
getsourceFunction · 0.85
_encloseFunction · 0.85
indentFunction · 0.85
splitMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected