From dd1d572b4ff17d6a99a232ea5ab46f5dc8502679 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 28 Dec 2020 18:51:17 +0100 Subject: [PATCH] print() is a function in Python 3 Like #2740 but for the docs Signed-off-by: Christian Clauss --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 63e85d36..93b30d4a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -58,7 +58,7 @@ You can stream logs: .. code-block:: python >>> for line in container.logs(stream=True): - ... print line.strip() + ... print(line.strip()) Reticulating spline 2... Reticulating spline 3... ...