frappe_docker/frappe-bench/env/lib/python2.7/site-packages/IPython/utils/signatures.py
2017-07-31 15:51:51 +05:30

11 lines
332 B
Python

"""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