Show More
@@ -17,6 +17,7 b" __all__ = ['Inspector','InspectColors']" | |||||
17 | # stdlib modules |
|
17 | # stdlib modules | |
18 | import inspect |
|
18 | import inspect | |
19 | import linecache |
|
19 | import linecache | |
|
20 | import warnings | |||
20 | import os |
|
21 | import os | |
21 | from textwrap import dedent |
|
22 | from textwrap import dedent | |
22 | import types |
|
23 | import types | |
@@ -693,6 +694,8 b' class Inspector(Colorable):' | |||||
693 | def info(self, obj, oname='', formatter=None, info=None, detail_level=0): |
|
694 | def info(self, obj, oname='', formatter=None, info=None, detail_level=0): | |
694 | """DEPRECATED. Compute a dict with detailed information about an object. |
|
695 | """DEPRECATED. Compute a dict with detailed information about an object. | |
695 | """ |
|
696 | """ | |
|
697 | warnings.warn('Inspector.info is deprecated as of IPython 5.0', | |||
|
698 | DeprecationWarning, stacklevel=2) | |||
696 | return self._info(obj, oname=oname, info=info, detail_level=detail_level) |
|
699 | return self._info(obj, oname=oname, info=info, detail_level=detail_level) | |
697 |
|
700 | |||
698 | def _info(self, obj, oname='', info=None, detail_level=0): |
|
701 | def _info(self, obj, oname='', info=None, detail_level=0): |
General Comments 0
You need to be logged in to leave comments.
Login now