ID EN
Inspect

return_annotation

Python 3.11

The “return” annotation for the callable. If the callable has no “return” annotation, this attribute is set to Signature.empty.

Syntax

PYTHON
return_annotation

See Also

Signature.empty