PyDocs

Nav

Python Runtime Services

type_repr

annotationlib

function · Added in 3.14 (source)
  • type_repr(value)
Convert a Python value to a format suitable for use with the STRING format.

This is intended as a helper for tools that support the STRING format but do
not have access to the code that originally produced the annotations. It uses
repr() for most objects.
0 Examples
No examples for annotationlib/type_repr.
See Also
No see-alsos for annotationlib/type_repr
0 Notes
No notes for type_repr