Skip to content

Add ast.expr #4

@multimeric

Description

@multimeric

I think expr is the parent class of all expressions. You sometimes need to use this directly when writing your own functions that use these types. However, this doesn't work:

from ast_compat import expr

Consequently, I can't use ast_compat as a drop in replacement for ast:

import ast_compat as ast

x: ast.expr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions