You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/libs/json_tricks/np_utils.py

16 lines
347 B

"""
This file exists for backward compatibility reasons.
"""
from .utils import hashodict, get_scalar_repr, encode_scalars_inplace
from .nonp import NoNumpyException
from . import np
# try:
# from numpy import generic, complex64, complex128
# except ImportError:
# raise NoNumpyException('Could not load numpy, maybe it is not installed?')