API reference

python:astx:astx.YieldExpr

class YieldExpr

YieldExpr(value: Optional[Expr], loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)

Source: packages/astx/src/astx/callables.py:762

Declared as: python:astx:astx.callables.YieldExpr

AST class for YieldExpr.

Attributes

Methods

Attributes

Search documentation

Type to search.