File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments