Skip to content

Commit

Permalink
tweak insepct output
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed May 12, 2021
1 parent 410a06e commit b5e4768
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rich/_inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ def safe_getattr(attr_name: str) -> Tuple[Any, Any]:
if items_table.row_count:
yield items_table
else:
yield self.highlighter(
Text.from_markup(
f"[i][b]{not_shown_count}[/b] attribute(s) not shown.[/i] Run [b][red]inspect[/red]([not b]inspect[/])[/b] for options."
)
yield Text.from_markup(
f"[b cyan]{not_shown_count}[/][i] attribute(s) not shown.[/i] Run [b][magenta]inspect[/]([not b]inspect[/])[/b] for options."
)

0 comments on commit b5e4768

Please sign in to comment.