Make sure ABCs come from collections.abc

This commit is contained in:
Paul Romano 2018-10-18 05:54:36 -05:00
parent 5b35714783
commit 50aa7be701
12 changed files with 15 additions and 12 deletions

View file

@ -1,6 +1,6 @@
import sys
import copy
from collections import Iterable
from collections.abc import Iterable
import numpy as np
import pandas as pd

View file

@ -1,4 +1,5 @@
from collections import OrderedDict, Mapping, Callable
from collections import OrderedDict
from collections.abc import Mapping, Callable
from copy import deepcopy
from io import StringIO
from numbers import Integral, Real

View file

@ -1,4 +1,4 @@
from collections import MutableSequence
from collections.abc import MutableSequence
import warnings
import io
import copy

View file

@ -1,5 +1,6 @@
from abc import ABCMeta
from collections import Iterable, OrderedDict
from collections import OrderedDict
from collections.abc import Iterable
import copy
import hashlib
from itertools import product

View file

@ -1,4 +1,4 @@
from collections import Iterable
from collections.abc import Iterable
from numbers import Real, Integral
from xml.etree import ElementTree as ET
import sys

View file

@ -1,4 +1,4 @@
from collections import Iterable
from collections.abc import Iterable
from numbers import Real
import copy
import sys

View file

@ -1,4 +1,5 @@
from collections import OrderedDict, Iterable
from collections import OrderedDict
from collections.abc import Iterable
from copy import copy, deepcopy
from numbers import Integral, Real
import random

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python
from collections import Mapping
from collections.abc import Mapping
import os
from math import log

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python
from collections import Mapping
from collections.abc import Mapping
import os
import numpy as np

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python
from collections import Mapping, Callable
from collections.abc import Mapping, Callable
import os
import numpy as np

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python
from collections import Mapping, Callable
from collections.abc import Mapping, Callable
import os
import numpy as np

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python
from collections import Callable
from collections.abc import Callable
import os
import numpy as np