Skip to content

Commit 901805f

Browse files
committed
Import from collections.abc, not collections
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.
1 parent 95b18d3 commit 901805f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

fints/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import re
22
import warnings
3-
from collections import Iterable
3+
from collections.abc import Iterable
44
from enum import Enum
55

66
from .formals import (

fints/types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from collections import Iterable, OrderedDict
1+
from collections import OrderedDict
2+
from collections.abc import Iterable
23
from contextlib import suppress
34

45
from .exceptions import FinTSNoResponseError

0 commit comments

Comments
 (0)