Skip to content

bagof.hints.numpy.typevars.inv

Invariant numpy TypeVars.

Attributes

DTYPE module-attribute

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

An invariant TypeVar for numpy dtypes.

DTYPELIKE module-attribute

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

An invariant TypeVar for objects convertible to a numpy dtype.