diff --git a/islpy/__init__.py b/islpy/__init__.py index 45af7505ae407054881777af397e3a3224f4c827..d034c5696eb7f7217769c7f4db542b1e378b6cd7 100644 --- a/islpy/__init__.py +++ b/islpy/__init__.py @@ -1183,6 +1183,7 @@ def align_spaces(obj, tgt, obj_bigger_ok=False, across_dim_types=None): """ if across_dim_types is not None: + from warnings import warn warn("across_dim_types is deprecated and should no longer be used. " "It never had any effect anyway.", DeprecationWarning, stacklevel=2)