summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnca Iordache <aiordache@users.noreply.github.com>2021-02-09 15:18:12 +0100
committerGitHub <noreply@github.com>2021-02-09 15:18:12 +0100
commit8615a61bd159982d3a4e8b6265e07986ff7747f3 (patch)
tree0c026cf5cf255a9c3ae3aaeaa19112f92ac38929
parentf0517f842b1d2e6c39380f60b326273e9b770794 (diff)
parent10ff4030793ac93ef5f4cc079dc8c71c6fa60a74 (diff)
downloaddocker-py-8615a61bd159982d3a4e8b6265e07986ff7747f3.tar.gz
Merge pull request #2743 from cclauss/patch-2
print() is a function in Python 3
-rw-r--r--docs/index.rst2
1 files changed, 1 insertions, 1 deletions
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...
...