##// END OF EJS Templates
Do not deprecate `object_info` as this is used elsewhere...
krassowski -
Show More
@@ -145,12 +145,7 b' class InspectorHookData:'
145
145
146 @undoc
146 @undoc
147 def object_info(**kw):
147 def object_info(**kw):
148 """DEPRECATED: Make an object info dict with all fields present."""
148 """Make an object info dict with all fields present."""
149 warnings.warn(
150 "IPython.core.oinspect.object_info has been deprecated since IPython 8.22 and will be removed in future versions",
151 DeprecationWarning,
152 stacklevel=2,
153 )
154 infodict = {k: None for k in info_fields}
149 infodict = {k: None for k in info_fields}
155 infodict.update(kw)
150 infodict.update(kw)
156 return infodict
151 return infodict
General Comments 0
You need to be logged in to leave comments. Login now