pystencils.types.UserTypeSpec

Contents

pystencils.types.UserTypeSpec#

pystencils.types.UserTypeSpec = str | type | numpy.dtype | pystencils.types.meta.PsType#

Represent a PEP 604 union type

E.g. for int | str