From 5132bdc5c926a33feff0551a3fc332d59f666889 Mon Sep 17 00:00:00 2001 From: TinWoodman92 Date: Wed, 14 Jun 2023 09:51:03 -0500 Subject: Update __init__.py added comment --- dialoguer/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dialoguer/__init__.py') diff --git a/dialoguer/__init__.py b/dialoguer/__init__.py index 26068df..6801d5e 100644 --- a/dialoguer/__init__.py +++ b/dialoguer/__init__.py @@ -63,6 +63,8 @@ class Dialogue: bin_data = binary_conversion.convert_to_binary(bin_data) self.conn.send(bin_data) + # Could add an optional boolean expect_data_type argument that receives data type as string. + # should there be an expected data type arg that specifies a known data type? def recv(self): data = self.conn.recv(HEADER) while data == b'\x00': -- cgit v1.2.3