Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.9k
Open
Description
Only concreteast.AST
classes have_field_types
, but because it is defined onast.AST
, IDEs, for example, incorrectly autocomplete it on abstract classes.
Lines 32 to 38 in2f198bc
classAST: | |
ifsys.version_info>= (3,10): | |
__match_args__= () | |
_attributes:ClassVar[tuple[str, ...]] | |
_fields:ClassVar[tuple[str, ...]] | |
ifsys.version_info>= (3,13): | |
_field_types:ClassVar[dict[str,Any]] |
Metadata
Metadata
Assignees
Labels
No labels