Skip to content
Snippets Groups Projects
Commit 0c86a9b6 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

Re-export and deprecate typing and bit_masks modules

parent 1edd2d5c
Branches
Tags
No related merge requests found
Pipeline #67878 passed with stages
in 1 minute and 18 seconds
from .sympyextensions.bit_masks import flag_cond as _flag_cond
from warnings import warn
warn(
"Importing the `pystencils.bit_masks` module is deprecated. "
"Import `flag_cond` from `pystencils.sympyextensions` instead."
)
flag_cond = _flag_cond
from .sympyextensions import TypedSymbol as _TypedSymbol
from .types import create_type as _create_type
from warnings import warn
warn(
"Importing `TypedSymbol` and `create_type` from `pystencils.typing` is deprecated. "
"Import from `pystencils` instead."
)
TypedSymbol = _TypedSymbol
create_type = _create_type
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment