Get object info about oname
(self, oname, detail_level=0)
| 1904 | return 'not found' # so callers can take other action |
| 1905 | |
| 1906 | def object_inspect(self, oname, detail_level=0): |
| 1907 | """Get object info about oname""" |
| 1908 | with self.builtin_trap: |
| 1909 | info = self._object_find(oname) |
| 1910 | if info.found: |
| 1911 | return self.inspector.info(info.obj, oname, info=info, |
| 1912 | detail_level=detail_level |
| 1913 | ) |
| 1914 | else: |
| 1915 | return oinspect.object_info(name=oname, found=False) |
| 1916 | |
| 1917 | def object_inspect_text(self, oname, detail_level=0): |
| 1918 | """Get object info as formatted text""" |