##// END OF EJS Templates
Start refactoring handling of color....
Start refactoring handling of color. This is one more step into getting rid of the old way of handling colors in IPython, in particular here we move the scheme/style as a configuration option of the parser instead of passing it around into the formats functions. Also remove our own usage of deprecated arguments.

File last commit:

r21663:e3427ad0
r22911:4335860f
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