##// END OF EJS Templates
Typo + Add Warning class for deprecation....
Matthias Bussonnier -
Show More
@@ -1,7 +1,7 b''
1 1 # encoding: utf-8
2 2 """Word completion for IPython.
3 3
4 This module stared as fork of the rlcompleter module in the Python standard
4 This module started as fork of the rlcompleter module in the Python standard
5 5 library. The original enhancements made to rlcompleter have been sent
6 6 upstream and were accepted as of Python 2.3,
7 7
@@ -67,7 +67,8 b' class NoOpContext(object):'
67 67 Context manager that does nothing."""
68 68
69 69 def __init__(self):
70 warnings.warn("""NoOpContext is deprecated since IPython 5.0 """)
70 warnings.warn("""NoOpContext is deprecated since IPython 5.0 """,
71 DeprecationWarning, stacklevel=2)
71 72
72 73 def __enter__(self): pass
73 74 def __exit__(self, type, value, traceback): pass
General Comments 0
You need to be logged in to leave comments. Login now