diff --git a/Lib/_pyrepl/fancy_termios.py b/Lib/_pyrepl/fancy_termios.py index 5b85cb0f52521f..056437b21f3a76 100644 --- a/Lib/_pyrepl/fancy_termios.py +++ b/Lib/_pyrepl/fancy_termios.py @@ -40,7 +40,7 @@ def as_list(self): self.lflag, self.ispeed, self.ospeed, - self.cc, + self.cc[:], ] def copy(self):