Skip to content

Commit

Permalink
TYP: Fix Python 3.12 type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
mferrera committed Aug 23, 2024
1 parent 55283a5 commit 164b00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xtgeo/grid3d/_ecl_inte_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class InteHead:
True
"""

def __init__(self, values: np.ndarray[np.int_, Any]) -> None:
def __init__(self, values: np.ndarray[np.int_, tuple[int]]) -> None:
"""Create an InteHead from the corresponding array.
Args:
Expand Down

0 comments on commit 164b00d

Please sign in to comment.