@@ -220,10 +220,9 @@ def get_address_max(self) -> Optional[int]:
220220 r"""Calculates the maximum address.
221221
222222 It calculates the maximum *address* field for the calling tag.
223- If the *address* field is not supported, it returns ``None``.
224223
225224 Returns:
226- int: Maximum *address* value, or ``None`` .
225+ int: Maximum *address* value.
227226
228227 Examples:
229228 >>> from hexrec import SrecFile
@@ -247,10 +246,9 @@ def get_address_size(self) -> Optional[int]:
247246 r"""Calculates the maximum address size.
248247
249248 It calculates the maximum *address* field size for the calling tag.
250- If the *address* field is not supported, it returns zero.
251249
252250 Returns:
253- int: Maximum *address* size, or ``None`` .
251+ int: Maximum *address* size.
254252
255253 Examples:
256254 >>> from hexrec import SrecFile
@@ -273,10 +271,9 @@ def get_data_max(self) -> Optional[int]:
273271 r"""Calculates the maximum data size.
274272
275273 It calculates the maximum *data* field size for the calling tag.
276- If the *data* field is not supported, it returns ``None``.
277274
278275 Returns:
279- int: Maximum *data* size, or ``None`` .
276+ int: Maximum *data* size.
280277
281278 Examples:
282279 >>> from hexrec import SrecFile
@@ -301,7 +298,7 @@ def get_tag_match(self) -> Optional['SrecTag']:
301298 Given *data* or *start address* records, it returns the matching tag.
302299
303300 Returns:
304- :class:`SrecTag`: Matching tag for *self*, or ``None``
301+ :class:`SrecTag`: Matching tag for *self*, or ``None``.
305302
306303 Examples:
307304 >>> from hexrec import SrecFile
0 commit comments