Show More
@@ -5,7 +5,8 b' Fallback on backport otherwise.' | |||||
5 | """ |
|
5 | """ | |
6 |
|
6 | |||
7 | import warnings |
|
7 | import warnings | |
8 |
warnings.warn("{} backport for Python 2 is deprecated in IPython 6, which only supports |
|
8 | warnings.warn("{} backport for Python 2 is deprecated in IPython 6, which only supports " | |
|
9 | "Python 3. Import directly from standard library `inspect`".format(__name__), | |||
9 | DeprecationWarning, stacklevel=2) |
|
10 | DeprecationWarning, stacklevel=2) | |
10 |
|
11 | |||
11 | from inspect import BoundArguments, Parameter, Signature, signature |
|
12 | from inspect import BoundArguments, Parameter, Signature, signature |
General Comments 0
You need to be logged in to leave comments.
Login now