bazarr/libs/json_tricks/np_utils.py

16 lines
347 B
Python
Raw Normal View History

2018-11-01 00:08:29 +08:00
"""
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?')