API reference

python:astx:astx.callables.YieldStmt

class YieldStmt

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

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

AST class for yield statement.

Attributes

Methods

Attributes

Search documentation

Type to search.