From 017a15cb184e7bfe57ec01db7fc64e07ea71cee8 Mon Sep 17 00:00:00 2001 From: SummerGift Date: Sat, 3 Aug 2019 17:11:14 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=8C=E5=96=84=E3=80=91=E4=B8=B2?= =?UTF-8?q?=E5=8F=A3=E8=AE=BE=E5=A4=87=E8=87=AA=E5=8A=A8=E8=A1=A5=E5=85=A8?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/code-completion/machine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/code-completion/machine.py b/docs/code-completion/machine.py index 7aed781..d093b03 100644 --- a/docs/code-completion/machine.py +++ b/docs/code-completion/machine.py @@ -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.