mirror of
https://github.com/python/cpython.git
synced 2024-12-12 11:23:56 +08:00
b4903afd4d
Ths commit inlines calls to Python functions in the eval loop and steals all the arguments in the call from the caller for performance.
13 lines
159 B
Python
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)
|