Skip to content

bagof.hints.numpy.typevars.co

Covariant numpy TypeVars.

Attributes

DTYPE module-attribute

DTYPE = tx.TypeVar('DTYPE', covariant=True, bound=np.dtype)

A covariant TypeVar for numpy dtypes.

DTYPELIKE module-attribute

DTYPELIKE = tx.TypeVar('DTYPELIKE', covariant=True, bound=npt.DTypeLike)

A covariant TypeVar for objects convertible to a numpy dtype.