mirror of https://github.com/docker/docker-py.git
				
				
				
			print() is a function in Python 3
Like #2740 but for the docs Signed-off-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
		
							parent
							
								
									c4775504a6
								
							
						
					
					
						commit
						dd1d572b4f
					
				|  | @ -58,7 +58,7 @@ You can stream logs: | ||||||
| .. code-block:: python | .. code-block:: python | ||||||
| 
 | 
 | ||||||
|   >>> for line in container.logs(stream=True): |   >>> for line in container.logs(stream=True): | ||||||
|   ...   print line.strip() |   ...   print(line.strip()) | ||||||
|   Reticulating spline 2... |   Reticulating spline 2... | ||||||
|   Reticulating spline 3... |   Reticulating spline 3... | ||||||
|   ... |   ... | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue