【完善】串口设备自动补全功能

This commit is contained in:
SummerGift 2019-08-03 17:11:14 +08:00
parent b09924dfaa
commit 017a15cb18
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ class UART(object):
"""
...
def read(self, nbytes: Optional[int]) -> bytes:
def read(self, nbytes: Optional[int] = None) -> bytes:
"""Read characters. If ``nbytes`` is specified then read at most that many
bytes, otherwise read as much data as possible.