Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Do not import deprecated functions from external decorators library.

Closes gh-470
  • Loading branch information...
commit b45902e3088d33f48c56f59054ffd05ecb26c4bb 1 parent ef34a2f
Thomas Kluyver takluyver authored
4 IPython/external/decorator/__init__.py
View
@@ -1,8 +1,4 @@
try:
from decorator import *
- from decorator import getinfo, new_wrapper
- # the following funcion is deprecated so using the python own one
- from functools import update_wrapper
except ImportError:
from _decorator import *
- from _decorator import getinfo, update_wrapper, new_wrapper
2  IPython/testing/decorators.py
View
@@ -56,7 +56,7 @@
# Third-party imports
# This is Michele Simionato's decorator module, kept verbatim.
-from IPython.external.decorator import decorator, update_wrapper
+from IPython.external.decorator import decorator
# We already have python3-compliant code for parametric tests
if sys.version[0]=='2':
Please sign in to comment.
Something went wrong with that request. Please try again.