@@ -124,7 +124,7 @@ def HandleDataSending(self, source_file, source_len,
124124 FastbootInvalidResponse: Fastboot responded with an unknown packet type.
125125
126126 Returns:
127- Tuple - OKAY packet's message, List of preceding Fastboot Messages
127+ tuple ( OKAY packet's message, List of preceding Fastboot Messages)
128128 """
129129 accepted_size , _msgs = self ._AcceptResponses (
130130 b'DATA' , info_cb , timeout_ms = timeout_ms )
@@ -152,7 +152,7 @@ def _AcceptResponses(self, expected_header, info_cb, timeout_ms=None):
152152 FastbootInvalidResponse: Fastboot responded with an unknown packet type.
153153
154154 Returns:
155- Tuple - OKAY packet's message, List of preceding Fastboot Messages
155+ tuple ( OKAY packet's message, List of preceding Fastboot Messages)
156156 """
157157
158158 messages = []
@@ -413,11 +413,13 @@ def RebootBootloader(self, timeout_ms=None):
413413 return self ._SimpleCommand (b'reboot-bootloader' , timeout_ms = timeout_ms )
414414
415415 def Boot (self , source_file ):
416- """
417- Fastboot boot image by sending image from local file system then issuing the boot command
416+ """Fastboot boot image by sending image from local file system then issuing the boot command
417+
418+ Args:
419+ source_file: String file path to the image to send and boot
418420
419- :param source_file :
420- :return:
421+ Returns :
422+ None
421423 """
422424
423425 if not os .path .exists (source_file ):
0 commit comments