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

Function outer

Lib/test/test_dis.py:1685–1692  ·  view source on GitHub ↗
(a=1, b=2)

Source from the content-addressed store, hash-verified

1683# Fodder for instruction introspection tests
1684# Editing any of these may require recalculating the expected output
1685def outer(a=1, b=2):
1686 def f(c=3, d=4):
1687 def inner(e=5, f=6):
1688 print(a, b, c, d, e, f)
1689 print(a, b, c, d)
1690 return inner
1691 print(a, b, '', 1, [], {}, "Hello world!")
1692 return f
1693
1694def jumpy():
1695 # This won't actually run (but that's OK, we only disassemble it)

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…