Skip to content

Commit c263d7c

Browse files
authored
Update util.py
To avoid FutureWarning, function "Iterable" and "Mapping" should be imported from collections.abc.
1 parent c1aa5fa commit c263d7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wrf/util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
import os
44
from sys import version_info
55
from copy import copy
6-
from collections import Iterable, Mapping, OrderedDict
6+
from collections import OrderedDict
7+
from collections.abc import Iterable, Mapping
78
from itertools import product, tee
89
from types import GeneratorType
910
import datetime as dt

0 commit comments

Comments
 (0)