##// END OF EJS Templates
Merge pull request #11279 from meeseeksmachine/auto-backport-of-pr-11277-on-5.x...
Merge pull request #11279 from meeseeksmachine/auto-backport-of-pr-11277-on-5.x Backport PR #11277 on branch 5.x (Actually run some tests.)

File last commit:

r21663:e3427ad0
r24510:d2539734 merge
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