cpython/Lib/test/gdb_sample.py

13 lines
159 B
Python

# Sample script for use by test_gdb.py
def foo(a, b, c):
bar(a=a, b=b, c=c)
def bar(a, b, c):
baz(a, b, c)
def baz(*args):
id(42)
foo(1, 2, 3)