Browse Source

Update util.py

To avoid FutureWarning, function "Iterable" and "Mapping" should be imported from collections.abc.
lon0
muchojp 5 years ago committed by GitHub
parent
commit
c263d7cbc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/wrf/util.py

3
src/wrf/util.py

@ -3,7 +3,8 @@ from __future__ import (absolute_import, division, print_function) @@ -3,7 +3,8 @@ from __future__ import (absolute_import, division, print_function)
import os
from sys import version_info
from copy import copy
from collections import Iterable, Mapping, OrderedDict
from collections import OrderedDict
from collections.abc import Iterable, Mapping
from itertools import product, tee
from types import GeneratorType
import datetime as dt

Loading…
Cancel
Save