Skip to content

Commit

Permalink
Fix stubtest for shapely (#12339)
Browse files Browse the repository at this point in the history
Fixes #12338
  • Loading branch information
AlexWaygood committed Jul 14, 2024
1 parent 35b84f2 commit 16341c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/shapely/shapely/coords.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from array import array
from collections.abc import Iterator
from typing import overload
from typing import Literal, overload

import numpy as np
from numpy.typing import DTypeLike, NDArray
Expand All @@ -13,6 +13,6 @@ class CoordinateSequence:
def __getitem__(self, key: int) -> tuple[float, float]: ...
@overload
def __getitem__(self, key: slice) -> list[tuple[float, float]]: ...
def __array__(self, dtype: DTypeLike | None = None) -> NDArray[np.float64]: ...
def __array__(self, dtype: DTypeLike | None = None, copy: Literal[True] | None = None) -> NDArray[np.float64]: ...
@property
def xy(self) -> tuple[array[float], array[float]]: ...

0 comments on commit 16341c7

Please sign in to comment.