MCPcopy Index your code
hub / github.com/RustPython/RustPython / outer

Function outer

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

Source from the content-addressed store, hash-verified

1668# Fodder for instruction introspection tests
1669# Editing any of these may require recalculating the expected output
1670def outer(a=1, b=2):
1671 def f(c=3, d=4):
1672 def inner(e=5, f=6):
1673 print(a, b, c, d, e, f)
1674 print(a, b, c, d)
1675 return inner
1676 print(a, b, '', 1, [], {}, "Hello world!")
1677 return f
1678
1679def jumpy():
1680 # This won't actually run (but that's OK, we only disassemble it)

Calls 1

printFunction · 0.50

Tested by

no test coverage detected