Skip to content

Commit

Permalink
print() is a function in Python 3
Browse files Browse the repository at this point in the history
Like #2740 but for the docs

Signed-off-by: Christian Clauss <cclauss@me.com>
  • Loading branch information
cclauss committed Dec 28, 2020
1 parent ce2669e commit 10ff403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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...
...
Expand Down

0 comments on commit 10ff403

Please sign in to comment.