MCPcopy Index your code
hub / github.com/RustPython/RustPython / as_list

Method as_list

Lib/_pyrepl/fancy_termios.py:35–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33 ) = tuples
34
35 def as_list(self):
36 return [
37 self.iflag,
38 self.oflag,
39 self.cflag,
40 self.lflag,
41 self.ispeed,
42 self.ospeed,
43 # Always return a copy of the control characters list to ensure
44 # there are not any additional references to self.cc
45 self.cc[:],
46 ]
47
48 def copy(self):
49 return self.__class__(self.as_list())

Callers 4

copyMethod · 0.95
tcsetattrFunction · 0.80
saveMethod · 0.80
setMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected