Skip to content

Commit a206b3e

Browse files
committed
Updated comment for self.stdout.
1 parent 0e90022 commit a206b3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd2/cmd2.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,9 @@ def __init__(
414414
else:
415415
self.stdin = sys.stdin
416416

417-
# What to use for standard output
417+
# Standard output stream. The interactive UI remains attached to this initial
418+
# stream even when self.stdout is temporarily swapped during command output
419+
# redirection.
418420
if stdout is not None:
419421
self.stdout = stdout
420422
else:

0 commit comments

Comments
 (0)