Skip to content

Commit a253451

Browse files
ZviBaratzeffigies
andauthored
TYP: Replace deprecated typing.Sequence generic type
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 995dafd commit a253451

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nibabel/spatialimages.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@
133133

134134
import io
135135
import typing as ty
136-
from typing import Literal, Sequence
136+
from collections.abc import Sequence
137+
from typing import Literal
137138

138139
import numpy as np
139140

0 commit comments

Comments
 (0)