Skip to content

Commit

Permalink
Update IPython/core/interactiveshell.py
Browse files Browse the repository at this point in the history
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
  • Loading branch information
2 people authored and Carreau committed Feb 1, 2022
1 parent 81d23fc commit 75da19a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion IPython/core/interactiveshell.py
Expand Up @@ -1675,7 +1675,9 @@ def object_inspect_mime(self, oname, detail_level=0, omit_sections=()):
with self.builtin_trap:
info = self._object_find(oname)
if info.found:
docformat = sphinxify(self.object_inspect(oname)) if self.sphinxify_docstring else None
docformat = (
sphinxify(self.object_inspect(oname)) if self.sphinxify_docstring else None
)
return self.inspector._get_info(
info.obj,
oname,
Expand Down

0 comments on commit 75da19a

Please sign in to comment.