We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f5540a commit 7b73fbbCopy full SHA for 7b73fbb
src/shapefile.py
@@ -1492,7 +1492,7 @@ class _HasM(_CanHaveBBox):
1492
@staticmethod
1493
def _read_ms_from_byte_stream(
1494
b_io: ReadSeekableBinStream, nPoints: int, next_shape: int
1495
- ) -> tuple[MBox, list[float | None]]:
+ ) -> tuple[MBox | None, list[float | None]]:
1496
mbox = None # Ensure mbox is always defined
1497
if next_shape - b_io.tell() >= 16:
1498
mbox = unpack("<2d", b_io.read(16))
0 commit comments