##// END OF EJS Templates
Merge pull request #11251 from Carreau/deprecated-imports...
Matthias Bussonnier -
r24462:08b12dbb merge
parent child Browse files
Show More
@@ -5,7 +5,8 b' Fallback on backport otherwise.'
5 5 """
6 6
7 7 import warnings
8 warnings.warn("{} backport for Python 2 is deprecated in IPython 6, which only supports Python 3".format(__name__),
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 10 DeprecationWarning, stacklevel=2)
10 11
11 12 from inspect import BoundArguments, Parameter, Signature, signature
General Comments 0
You need to be logged in to leave comments. Login now