aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/sca/target/serial.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pyecsca/sca/target/serial.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyecsca/sca/target/serial.py b/pyecsca/sca/target/serial.py
index 3c0b5c4..ccde326 100644
--- a/pyecsca/sca/target/serial.py
+++ b/pyecsca/sca/target/serial.py
@@ -14,5 +14,5 @@ class SerialTarget(Target):
...
@abstractmethod
- def read(self, num: Optional[int] = 0, timeout: Optional[int] = 0) -> bytes:
+ def read(self, num: int = 0, timeout: int = 0) -> bytes:
...