##// END OF EJS Templates
Backport PR #10030: Fix running %run -d twice...
Backport PR #10030: Fix running %run -d twice I suspect this is a bug in pdb; I'll try to get it fixed there too, but deleting `deb.curframe` seems to work around the issue. Closes 10028 . Signed-off-by: Thomas Kluyver <thomas@kluyver.me.uk>

File last commit:

r21663:e3427ad0
r23148:73bd84e4
Show More
signatures.py
11 lines | 332 B | text/x-python | PythonLexer
"""Function signature objects for callables.
Use the standard library version if available, as it is more up to date.
Fallback on backport otherwise.
"""
try:
from inspect import BoundArguments, Parameter, Signature, signature
except ImportError:
from ._signatures import BoundArguments, Parameter, Signature, signature