##// END OF EJS Templates
Update IPython/core/interactiveshell.py...
martinRenou -
Show More
@@ -1626,7 +1626,9 b' class InteractiveShell(SingletonConfigurable):'
1626 This function is meant to be called by pdef, pdoc & friends.
1626 This function is meant to be called by pdef, pdoc & friends.
1627 """
1627 """
1628 info = self._object_find(oname, namespaces)
1628 info = self._object_find(oname, namespaces)
1629 docformat = sphinxify(self.object_inspect(oname)) if self.sphinxify_docstring else None
1629 docformat = (
1630 sphinxify(self.object_inspect(oname)) if self.sphinxify_docstring else None
1631 )
1630 if info.found:
1632 if info.found:
1631 pmethod = getattr(self.inspector, meth)
1633 pmethod = getattr(self.inspector, meth)
1632 # TODO: only apply format_screen to the plain/text repr of the mime
1634 # TODO: only apply format_screen to the plain/text repr of the mime
General Comments 0
You need to be logged in to leave comments. Login now