Skip to content

Commit 33a8772

Browse files
committed
lint cleanups.
1 parent 00c8737 commit 33a8772

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

xdrlib.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ def get_position(self) -> int:
256256
def set_position(self, position: int):
257257
"""Set the position within the decoding buffer.
258258
259-
:param position: Integer offset of next position to be decoded from the buffer.
259+
:param position: Integer offset of next position to be decoded
260+
from the buffer.
260261
"""
261262
self.__pos = position
262263

@@ -326,7 +327,8 @@ def unpack_hyper(self) -> int:
326327
return struct.unpack(">q", data)[0]
327328

328329
def unpack_float(self) -> float:
329-
"""Decode a 32-bit (single precision) floating point value at the current position.
330+
"""Decode a 32-bit (single precision) floating point value at
331+
the current position.
330332
331333
Advances the internal position by 4 octets."""
332334
i = self.__pos
@@ -337,7 +339,8 @@ def unpack_float(self) -> float:
337339
return struct.unpack(">f", data)[0]
338340

339341
def unpack_double(self) -> float:
340-
"""Decode a 364-bit (double precision) floating point value at the current position.
342+
"""Decode a 64-bit (double precision) floating point value at
343+
the current position.
341344
342345
Advances the internal position by 4 octets."""
343346
i = self.__pos

0 commit comments

Comments
 (0)