src/eric7/MicroPython/MicroPythonSerialPort.py

branch
eric7
changeset 11188
413f6ff459ab
parent 11090
f5f5f5803935
equal deleted inserted replaced
11187:d21d54be6c80 11188:413f6ff459ab
95 def readUntil(self, expected=b"\n", size=None, timeout=0): 95 def readUntil(self, expected=b"\n", size=None, timeout=0):
96 r""" 96 r"""
97 Public method to read data until an expected sequence is found 97 Public method to read data until an expected sequence is found
98 (default: \n) or a specific size is exceeded. 98 (default: \n) or a specific size is exceeded.
99 99
100 @param expected expected bytes sequence 100 @param expected expected bytes sequence (defaults to \n)
101 @type bytes 101 @type bytes (optional)
102 @param size maximum data to be read (defaults to None) 102 @param size maximum data to be read (defaults to None)
103 @type int (optional) 103 @type int (optional)
104 @param timeout timeout in milliseconds (0 for configured default) 104 @param timeout timeout in milliseconds (0 for configured default)
105 (defaults to 0) 105 (defaults to 0)
106 @type int (optional) 106 @type int (optional)

eric ide

mercurial