Skip to content

Commit c90f3e2

Browse files
authored
Improved API usage example log
1 parent 3469e43 commit c90f3e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

is-legacy-terminal/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import is_legacy_terminal
4545
if is_legacy_terminal():
4646
print('Is legacy terminal!')
4747
else:
48-
print('Is not legacy terminal!')
48+
print('Is modern terminal!')
4949
```
5050

5151
_Note: Most type checkers will falsely warn_ `is_legacy_terminal` _is not a callable module because they are incapable of analyzing runtime behavior (where the module is replaced w/ a function for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.

0 commit comments

Comments
 (0)