PyDocs

Nav

Python Language Services

AST._field_types

ast

attribute of AST · Added in 3.13
The _field_types attribute on each concrete class is a dictionary mapping field names (as also listed in _fields) to their types.
1 Example
>>> ast.TypeVar._field_types
{'name': <class 'str'>, 'bound': ast.expr | None, 'default_value': ast.expr | None}
from the Python docs
See Also
No see-alsos for ast/AST._field_types
0 Notes
No notes for AST._field_types