Skip to content

Commit 3fca75f

Browse files
committed
Fixes return value models.containers.Container.exec_run.__doc__
Signed-off-by: Frank Sachsenheim <[email protected]>
1 parent f7a1052 commit 3fca75f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/models/containers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@ def exec_run(self, cmd, stdout=True, stderr=True, stdin=False, tty=False,
172172
exit_code: (int):
173173
Exit code for the executed command or ``None`` if
174174
either ``stream```or ``socket`` is ``True``.
175-
output: (generator or str):
175+
output: (generator or bytes):
176176
If ``stream=True``, a generator yielding response chunks.
177177
If ``socket=True``, a socket object for the connection.
178-
A string containing response data otherwise.
178+
A bytestring containing response data otherwise.
179179
180180
Raises:
181181
:py:class:`docker.errors.APIError`

0 commit comments

Comments
 (0)