MCPcopy Index your code
hub / github.com/python/cpython / complex_script

Function complex_script

Lib/test/_code_definitions.py:6–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5
6def complex_script():
7 obj = 'a string'
8 pickle = __import__('pickle')
9 def spam_minimal():
10 pass
11 spam_minimal()
12 data = pickle.dumps(obj)
13 res = pickle.loads(data)
14 assert res == obj, (res, obj)
15
16
17def script_with_globals():

Callers

nothing calls this directly

Calls 4

__import__Function · 0.85
spam_minimalFunction · 0.85
dumpsMethod · 0.45
loadsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…