##// END OF EJS Templates
Backport PR #10198: Correctly deprecate limit_to_all...
Backport PR #10198: Correctly deprecate limit_to_all At least emit a warning. Should likely be backported to 5.x.

File last commit:

r21663:e3427ad0
r23239:dfc832f8
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