]> git.ipfire.org Git - thirdparty/python-fints.git/commitdiff
Import from collections.abc, not collections 132/head
authorLukas Juhrich <lukas.juhrich@agdsn.de>
Sun, 8 Aug 2021 16:24:42 +0000 (18:24 +0200)
committerLukas Juhrich <lukas.juhrich@agdsn.de>
Sun, 8 Aug 2021 16:24:45 +0000 (18:24 +0200)
This is possible since py3.3 and has been deprecated for a while.
In py3.10 (set to release in september), the old option will not work
anymore.

fints/parser.py
fints/types.py

index ff0238e0046fd9425eb11eaaa8840228bdd2b7cd..6d5e29bdf019fc823b67b89c1da18645d070bed4 100644 (file)
@@ -1,6 +1,6 @@
 import re
 import warnings
-from collections import Iterable
+from collections.abc import Iterable
 from enum import Enum
 
 from .formals import (
index 8adca2d2423a98b811f72d8a345be09a6cdb9879..aa75a545ef841f165d169bd72a15583fdf0ac227 100644 (file)
@@ -1,4 +1,5 @@
-from collections import Iterable, OrderedDict
+from collections import OrderedDict
+from collections.abc import Iterable
 from contextlib import suppress
 
 from .exceptions import FinTSNoResponseError