ID EN
Typing

__constraints__

Python 3.11

A tuple containing the constraints of the type variable, if any.

Syntax

PYTHON
__constraints__