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 4261839 commit 1f38277Copy full SHA for 1f38277
1 file changed
src/shapefile.py
@@ -394,7 +394,7 @@ class GeoJSONFeatureCollectionWithBBox(GeoJSONFeatureCollection):
394
ARR_TYPE = TypeVar("ARR_TYPE", int, float)
395
396
397
-class _Array(array.array[ARR_TYPE]):
+class _Array(array.array, Generic[ARR_TYPE]): # type: ignore[type-arg]
398
"""Converts python tuples to lists of the appropriate type.
399
Used to unpack different shapefile header parts."""
400
0 commit comments