Skip to content

Commit 1f38277

Browse files
committed
Revert _Array & its #type: ignore
1 parent 4261839 commit 1f38277

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/shapefile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ class GeoJSONFeatureCollectionWithBBox(GeoJSONFeatureCollection):
394394
ARR_TYPE = TypeVar("ARR_TYPE", int, float)
395395

396396

397-
class _Array(array.array[ARR_TYPE]):
397+
class _Array(array.array, Generic[ARR_TYPE]): # type: ignore[type-arg]
398398
"""Converts python tuples to lists of the appropriate type.
399399
Used to unpack different shapefile header parts."""
400400

0 commit comments

Comments
 (0)