From 8f9131c586b0f09a93f2630f8deafc58b8e25418 Mon Sep 17 00:00:00 2001 From: "Felipe S. S. Schneider" Date: Sun, 31 Oct 2021 12:38:38 -0300 Subject: [PATCH] Distinguish input() method from function --- docs/source/console.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/console.rst b/docs/source/console.rst index 7e3a1707..8c1e7520 100644 --- a/docs/source/console.rst +++ b/docs/source/console.rst @@ -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()