From 10ff4030793ac93ef5f4cc079dc8c71c6fa60a74 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 28 Dec 2020 18:51:17 +0100 Subject: 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 63e85d3..93b30d4 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... ... -- cgit v1.2.1