##// END OF EJS Templates
Apply suggestions from code review...
Matthias Bussonnier -
Show More
@@ -704,14 +704,14 b' class Inspector(Colorable):'
704
704
705 def _info(self, obj, oname="", info=None, detail_level=0):
705 def _info(self, obj, oname="", info=None, detail_level=0):
706 """
706 """
707 Inspector.info() was likely unproperly marked as deprecated
707 Inspector.info() was likely improperly marked as deprecated
708 while only a parameter was deprecated. We "un-deprecate" it.
708 while only a parameter was deprecated. We "un-deprecate" it.
709 """
709 """
710
710
711 warnings.warn(
711 warnings.warn(
712 "The `Inspector.info()` has been un-deprecated as of 8.0 and the"
712 "The `Inspector.info()` method has been un-deprecated as of 8.0 "
713 " `formatter=` keyword removed. `Inspector._info` is now an alias."
713 "and the `formatter=` keyword removed. `Inspector._info` is now "
714 " You can always call `.info()` directly.",
714 "an alias, and you can just call `.info()` directly.",
715 DeprecationWarning,
715 DeprecationWarning,
716 stacklevel=2,
716 stacklevel=2,
717 )
717 )
General Comments 0
You need to be logged in to leave comments. Login now