mirror of https://github.com/docker/docker-py.git
Merge pull request #2743 from cclauss/patch-2
print() is a function in Python 3
This commit is contained in:
commit
8615a61bd1
|
|
@ -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...
|
||||
...
|
||||
|
|
|
|||
Loading…
Reference in New Issue