Verified Commit 29dc5d22 authored by David Runge's avatar David Runge
Browse files

Import Iterable and Iterator depending on Python version

As Iterable and Iterator are only used for type hints, switch to using
typing.{Iterable,Iterator} instead of{Iterable,Iterator} for Python < 3.9.0, as older Python
interpreters will otherwise raise TypeError.
parent 67d898d1
Pipeline #17327 passed with stage
in 1 minute