Skip to content

Commit 35f88f9

Browse files
committed
Add comment
1 parent 92f39f0 commit 35f88f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/_pyrepl/fancy_termios.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def as_list(self):
4040
self.lflag,
4141
self.ispeed,
4242
self.ospeed,
43+
# Always return a copy of the control characters list to ensure
44+
# there are not any additional references to self.cc
4345
self.cc[:],
4446
]
4547

0 commit comments

Comments
 (0)