Distinguish input() method from function

This commit is contained in:
Felipe S. S. Schneider 2021-10-31 12:38:38 -03:00
parent 3844ae817b
commit 8f9131c586
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ The :meth:`~rich.console.Console.print` method has a boolean ``crop`` argument.
Input
-----
The console class has an :meth:`~rich.console.Console.input` which works in the same way as Python's builtin :func:`input` method, but can use anything that Rich can print as a prompt. For example, here's a colorful prompt with an emoji::
The console class has an :meth:`~rich.console.Console.input` method which works in the same way as Python's builtin :func:`input` function, but can use anything that Rich can print as a prompt. For example, here's a colorful prompt with an emoji::
from rich.console import Console
console = Console()