Skip to content

Commit 075d153

Browse files
committed
Improve type hint in documentation
1 parent fe2d95c commit 075d153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/features/prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ You can customize the content of the toolbar by overriding the [cmd2.Cmd._bottom
7070
This method should return either a string or a list of `(style, text)` tuples for formatted text.
7171

7272
```py
73-
def _bottom_toolbar(self) -> Any:
73+
def _bottom_toolbar(self) -> list[str | tuple[str, str]] | None:
7474
return [
7575
('ansigreen', 'My Application Name'),
7676
('', ' - '),

0 commit comments

Comments
 (0)