mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-117174: Add a new route in linecache to fetch interactive source code (#117500)
This commit is contained in:
parent
ecdf6b15b0
commit
a931a8b324
16 changed files with 142 additions and 93 deletions
|
@ -1,4 +1,5 @@
|
|||
# Sample script for use by test_gdb
|
||||
from _typing import _idfunc
|
||||
|
||||
def foo(a, b, c):
|
||||
bar(a=a, b=b, c=c)
|
||||
|
@ -7,6 +8,6 @@ def bar(a, b, c):
|
|||
baz(a, b, c)
|
||||
|
||||
def baz(*args):
|
||||
id(42)
|
||||
_idfunc(42)
|
||||
|
||||
foo(1, 2, 3)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue