Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 726108334
  • Loading branch information
colaboratory-team committed Feb 12, 2025
1 parent 2d5f8ac commit c423b37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions google/colab/_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ def do_inspect(self, code, cursor_pos, detail_level=0):

data = {}
if info['found']:
info_text = self.shell.object_inspect_text(
name, detail_level=detail_level
)
data['text/plain'] = info_text
# Provide the structured inspection information to allow the frontend to
# format as desired.
argspec = info.get('argspec')
Expand Down

0 comments on commit c423b37

Please sign in to comment.