PyDocs

Nav

Python Language Services

Starred

ast

class
  • Starred(value, ctx)
Starred(expr value, expr_context ctx)
1 Example
>>> print(ast.dump(ast.parse('a, *b = it'), indent=4))
Module(
    body=[
        Assign(
            targets=[
                Tuple(
                    elts=[
                        Name(id='a', ctx=Store()),
                        Starred(
                            value=Name(id='b', ctx=Store()),
                            ctx=Store())],
                    ctx=Store())],
            value=Name(id='it'))])
from the Python docs
See Also
No see-alsos for ast/Starred
0 Notes
No notes for Starred