Remove six dependency

This commit is contained in:
Sterling Harper 2016-08-12 14:16:46 -05:00
parent 5b219fd6aa
commit f4e0525a05

View file

@ -1,7 +1,6 @@
from abc import ABCMeta, abstractmethod
from collections import Iterable, Callable
from numbers import Real, Integral
from six import with_metaclass
import numpy as np
@ -11,9 +10,11 @@ INTERPOLATION_SCHEME = {1: 'histogram', 2: 'linear-linear', 3: 'linear-log',
4: 'log-linear', 5: 'log-log'}
class Function1D(with_metaclass(ABCMeta, object)):
class Function1D(object):
"""A function of one independent variable with HDF5 support."""
__metaclass__ = ABCMeta
@abstractmethod
def __call__(self): pass